Go to Post Yellow bananas are the new red herrings. - artdutra04 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-01-2008, 16:58
bizarospooky bizarospooky is offline
Registered User
FRC #2642 (Falconaters)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2008
Location: North Carolina
Posts: 11
bizarospooky is an unknown quantity at this point
Mapping Spikes

Sorry if the solution to this is posted somewhere else, I couldn't find it anywhere though. Baisically I am trying to get a spike to respond to the joystick, only thing is I am getting a compiler error of Compatabible Scalar something.

The code I am using is
if (OIToRelay(1, 1, 1, 1) ==1)
{
//do this
}

What did I do wrong here? Also, tried assigning it to a variable, that didn't work either, type mismatch (couldn't figure out the type of variable it was)
  #2   Spotlight this post!  
Unread 23-01-2008, 19:42
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Mapping Spikes

So far as I can tell, the OIToRelay() function does it all for you. It does not return a value.
  #3   Spotlight this post!  
Unread 23-01-2008, 21:00
bizarospooky bizarospooky is offline
Registered User
FRC #2642 (Falconaters)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2008
Location: North Carolina
Posts: 11
bizarospooky is an unknown quantity at this point
Re: Mapping Spikes

heh ya, I went back and just tried OIToRelay alone it worked yayy
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mapping FIRST Teams Rob2713g General Forum 26 05-01-2008 00:49
Mapping the controller? greenmachine07 VEX 1 07-12-2007 00:04
Concept Mapping Eugenia Gabrielov Chairman's Award 1 30-01-2005 17:28
Default mapping relay questions Jared Stofflett Programming 1 25-02-2004 19:06
Mapping Buttons to PWMs actorindp Programming 9 10-02-2004 11:11


All times are GMT -5. The time now is 18:44.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi