View Single Post
  #13   Spotlight this post!  
Unread 06-05-2010, 17:16
krudeboy51's Avatar
krudeboy51 krudeboy51 is offline
Only Programmer
AKA: kory
FRC #0369 (369)
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2010
Location: brooklyn
Posts: 151
krudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of light
Send a message via AIM to krudeboy51
Re: Help with PSoC board programming please

for the first one, would the operator code look like this:
Code:
  
void operator control
switch  (ds->GetDigitalIn(1));
            {
            	motor->Set(0.0);
            	Wait(1.0);
            	motor->Set(0.0);
            }
i took out the = sign because every time i build it i get an error saying: "expected before `=` token, how can i fix this??,
and i tried the enhanced io but it gives me a warning that "dsio" is a unused varible

Last edited by krudeboy51 : 06-05-2010 at 17:30.
Reply With Quote