Using Sparkfun Kit to create a project for my class, but the delay function seems to not be called.
My intentions are to once I flip a switch, I want the motor to spin for however milliseconds I enter in the delay function, and then stop. I used the spark-fun book as a guide for my coding, and it spins properly but just keeps spinning and not stopping. I could just flip the switch to the off position but I want it to be able to stop by itself and not manually.
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
A
Arduino
Official Arduino Discord - Discuss all things Arduino!