Any comments or suggestions would be greatly appreciated!
Wokwi links of some "scholastic" problems solved with a state machine.
StartStopMotor.ino
Blinky.ino
PedestrianLight.ino
AutomaticGate.ino
RailCrossing.ino