Arduino Alvik

How to write code for alternate Blinking LEDs with different colors in Arduino Alvik?

This entry is part 2 of 5 in the series Arduino Alvik

If you are already familiar with Arduino Alvik environment, then you can proceed with the following post. However, if you are new to Arduino Alvik, then we suggest you to read this post on Arduino Alvik basics first!

As we know there are two on board multicolor LEDs on top of the Arduino Alvik. Let us see the following code to blink these LEDs alternately by changing their color.

Arduino Alvik

The Code

The following code is freely available for logged in users.

Signup or Login to view remaining content. It's Completely Free!
Share on your network!
Dattaraj Vidyasagar
Dattaraj Vidyasagar

Author on this website. He is veteran of Core Electronics since last 36+ years. ATL Mentor of Change, Niti Ayog, Govt. of India, Google Certified Educator, International Robotics Trainer and author of 18 books on electronics, robotics, programming languages and web designing... ➤➤

Leave a Reply

Your email address will not be published. Required fields are marked *