Concept Flow - DC motor with transistor driver
Start
Set pinMode for transistor control pin
Loop start
Write HIGH to transistor pin -> Motor ON
Delay for motor run time
Write LOW to transistor pin -> Motor OFF
Delay for motor stop time
↩Back to Loop start
The program sets a pin to control the transistor, then repeatedly turns the motor on and off with delays.
