|
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.
|