AC is dangerous
1 rpm = revolution per min = clock hand to go one full circle
DC motor doesn't have the ability to modify its direction, just the speed.
Midterm Update
Make a console tool with potentiometer
int interval1 = map(pot, 0, 1023, 1, 50);int interval2 = constrain(floor(interval1 * 2), 2, 100
Elizabeth Kezia Widjaja © 2025 🙂