View Single Post
  #1   Spotlight this post!  
Unread 17-02-2011, 20:07
dratewka2 dratewka2 is offline
Registered User
FRC #2625
 
Join Date: Jan 2011
Location: Missisauga
Posts: 11
dratewka2 is an unknown quantity at this point
Programming Light Sensor

We are declaring the LightWhite as a DigitalInput;
then LightWhite = new DigitalInput(5);
we do... if (LightWhite->Get()==1)
{...do something...}

but we do not get the if to be entered....
any ideas???
Reply With Quote