LED Arduino

Even with an Arduino, a flashing circuit can be easily implemented. Shown here is the wiring on the plug-in board, which was realized in Fritzing.


Below is the script for a simple flashing circuit, which is quite similar to a blue LED light of an ambulance. The two LEDs are switched on alternately for two intervals, which gives a quite realistic look.

Anzeige (*)