z = digitalRead((scale.get_units(), 3));
digitalRead() returns HIGH or LOW. Then you check to see if z is between 1.000 and 22.000 or between 22.000 and 30.000. How likely do you think that is?
Steve
z = digitalRead((scale.get_units(), 3));
digitalRead() returns HIGH or LOW. Then you check to see if z is between 1.000 and 22.000 or between 22.000 and 30.000. How likely do you think that is?
Steve