Motordriver_test3.ino
Very initial Arduino test code for the board, which control speed and rotation by distance between sensor and finger. When the distance between sensor and finger is less than 5cm, rotation direction is flipped. More than 5cm, motor speed is controlled as a response of distance. If more than 50cm or no reflection (sensor is out of range, motor will stop. RGB LED will show the operation by color.
ino -
2.00 kB -
06/25/2017 at 08:55
|
|
Download
|