Arduino board drives dual-color LED module flashing alternately

By Kumantech | 18 May 2017 | 18 Comments
Led dual-color display is generally composed of 2 colors light-emitting diodes, through different colors of light-emitting diodes can form a different display, double color is composed of red & green or yellow & green, pseudo color is from red, yellow, blue 3 different colors.

1. Connect LED dual-color module's S end to the A5 on the arduino board, the middle pin link to A4,  GND

2. Code parsing
Firstly define the red light pin of the dual-color module as A5, blue light as A4 and set the 2 pins as output mode, the main loop inside the red light to achieve a second after the closure, then the blue light up for a second, so repeated.

Turn the switch on the board, you can observe the LED flashing red and blue one second in turn.
July 26,2019 03:22
[url=]Amoxil Children[/url] <a href="">Amoxicillin</a>
July 26,2019 02:37
[url=]Amoxicillin 500mg Capsules[/url] <a href="">Brand Amoxil</a>
July 20,2019 21:17
[url=]Amoxicillin 500 Mg[/url] <a href="">Amoxicillin 500mg Capsules</a>
June 28,2019 00:26
[url=]Amoxicillin 500mg[/url] <a href="">Amoxicillin 500 Mg</a>
June 27,2019 23:41
[url=]Amoxicillin 500 Mg[/url] <a href="">Amoxicillin -</a>
June 03,2019 12:12
Link exchange is nothing else except it is only placing the other person's webpage link on your page at appropriate place and other person will also do similar for you.
April 05,2019 02:42 - Buy Amoxicillin Online <a href="">Amoxicillin</a>
April 05,2019 02:34 - Amoxicillin <a href="">Amoxicillin Online</a>
October 25,2018 22:36 - <a href=""></a>
October 25,2018 22:28 - <a href=""></a>
October 25,2018 22:07 - <a href=""></a>
October 25,2018 21:50 - <a href=""></a>
October 25,2018 21:36 - <a href=""></a>
October 25,2018 21:14 - <a href=""></a>
kamagra oral jelly 100mg how t
March 30,2018 11:21
kamagra 100mg oral jelly suppliers indiana <a href="">kamagra 100 mg</a> kamagra price <a href="">kamagra bestellen rotterdam</a> kamagra 100mg oral jelly suppliers indianapolis
March 09,2018 01:25
vientre de alquiler es muy popular en todas partes del mundo. La razon principal de eso es que una mujer se hace mama para neonato despues su nacimiento. Muchas de mujeres seria una mama, pero cualquiera de ellas no tiene la posibilidad. Por esta r
March 01,2018 17:32
Удобные роды в Мексике с компанией Cancun Bebe Организация предлагает вашей семье необычную для русскоязычного социума возможность: прожить последние пару недель беременности и родить ребенка в теплой солнечной Мексике. Многим наш
February 09,2018 02:35
Surrogacy is very renowned all over the world. The main cause of it – a female become the arrival child’s mom after childbirth. A lot of woman would be a mom, but some of them haven’t possibility. That is why in last century a new term emerged – surr
Leave a Reply
Your email address will not be published.Required fields are marked. *
Name *
Email *
Popular blog