Sketch uses 1942 bytes (6%) of program storage space. Maximum is 32256 bytes.
Global variables use 184 bytes (8%) of dynamic memory, leaving 1864 bytes for local variables. Maximum is 2048 bytes.
Serial port not selected.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
The motor had to run for 3 seconds and stop for 3 secs on a loop. I actually had connected the transistor leg to the wrong end of the diod, now it works thank you