Serial Monitor Stops Printing Data After Some Time: Using Arduino to Control Solenoid Valves

Using == is often not the best. <=, >=, are more safe especially when floats are involved.

2 Likes