Go Down

Topic: 3 motor laser spirograph thingy (Read 3879 times) previous topic - next topic


Is there an easy fix to ensure the device returns to manual mode sooner while leaving the 7 second "hold" of a random scene?
I am always unsure whether to gve the quick answer, or just to tell about the approach as it (usually) is fu working it out yourself.

So the "hint" this time is - the much famed and abused "blink with out delay" - because you must not use delay if you want to do two things at once. (in this case, (1)monitor the pot value and (2)count to 7 seconds before doing another random)

I tried to give an alternate explanation - http://arduino.cc/playground/Code/AvoidDelay - see if it helps you. If not, I'll just write the 5 lines of code you need.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131