Re: Why it works with an underscore?
Do I #define a name that I want to use and then in the routines use them there?
Can I:
#define *Sensor_variable read* results in turning on solenoid 1 and 4 and 5
then later if this happens:
if ((Sen_1 == 1) && (Sen_2 == 1) && (Sen_3 == 1) && (Sen_4 == 1) && (Sen_5 == 1))
{
Sensor_variable read;
}
This way I can activate certain solenoids when my 5 sensors reads all 1's
its soooo confusing...still trying to make the encoder work.
|