Quote:
|
Originally Posted by MikeWasHere05
Try adding a printf to your code, see what it puts out.
printf("Limit Switch: %f \n", rc_dig_in08);
|
printf("Limit Switch: %d \n", (int)rc_dig_in08);
Both the %d and (for our RC compiler) the cast to int are important...