Is this possible with Arduino at the same time?
QuoteIs this possible with Arduino at the same time?Yes of course it is.All these things are very slow, so they are done one after the other so that they look like they are happening at the same time.
Is there a special way to program this?
AWOL's guidance on avoiding delay() is the best advice you'll hear.One way to accomplish what you're after is to use the Run library:https://github.com/billroy/run -- there's an example of blinking two LEDs there.After some practice you start thinking in terms of the pattern of breaking your program into parts that can happily run periodically.-br
Seems like no matter what technique, I'd be stuck with ....
It will need certain delays in it to get the proper flicker effect, so this will slow it down enough to stop the cars and other activities on the train layout.
Flicker light by using a loop to fade it up and down
Please enter a valid email to subscribe
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