//************************************** // Name: Alternating LED Flasher in Arduino // Description:Before the coming of new year 2019 I have decided to write a code to perform alternating LED Flasher using Arduino UNO it is fun because I was able to apply my knowledge in C programming rstand the concepts and principle of Arduino. I hope you will find my work useful. May the new year 2019 brings us new learning experience. I am currently accepting programming work, it projects, school and application development. programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details. If you want to advertise on my website kindly contact me also in my email address also. Thank you. My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com. My mobile number here in the Philippines is 09173084360. My telephone number at home here in Bacolod City, Negros Occidental Philippines is +63 (034) 4335675. My personal website is http://www.jakerpomperada.com // By: Jake R. Pomperada // // // Inputs:None // // Returns:None // //Assumes:None // //Side Effects:None //************************************** /* Alternating LED Flasher in Arduino UNO * Author : Mr. Jake R. Pomperada, MAED-IT * Date : December 31, 2018 * Bacolod City, Negros Occidental */ #define YELLOW 8 #define RED 7 void setup() { pinMode(YELLOW,OUTPUT); pinMode(RED,OUTPUT); } void loop() { digitalWrite(YELLOW,HIGH); digitalWrite(RED,LOW); delay(500); digitalWrite(YELLOW,LOW); digitalWrite(RED,HIGH); delay(500); }