For our experiment, we wanted to make the Arduino unit know if it was upside down or not. By measuring the resistance of the tilt switch, the Arduino would light up the green LED to indicate that it was right-side up or light up the red LED if it was upside down.
No comments:
Post a Comment