View Single Post
  #1   Spotlight this post!  
Unread 31-01-2008, 17:57
compwiz2008's Avatar
compwiz2008 compwiz2008 is offline
Registered User
FRC #2139
 
Join Date: Nov 2007
Location: Las Vegas, Nevada
Posts: 11
compwiz2008 is an unknown quantity at this point
Coding the Gear Tooth Sensor

We need help with the code to the sensor. We have tried many things but cannot get it to function. If you can help it is greatly appreciated.

This is our code

if (rc_dig_in05 > 0) {
counter = counter + 1;
}
printf("counter %d", counter);

And it still won't count.

p.s. Please show us some code.

Last edited by compwiz2008 : 31-01-2008 at 17:59.