Cylon Flashing Circuit Code - Mariam, Lauren
Cylon Flashing Circuit Code - Mariam, Lauren
/*
Name: Final Project - Cylon Flashing Circuit
Function: Rund 6 red LED lights to create a flashing sequence to mimic the timing of the
flashing in the Cylon head mount video.
*/
// Initialize variables
int ledDelay = 200; // long delay
int redPin1 = 8; // Use pin 8 for red 1
int redPin2 = 9; // Use pin 9 for red 2
int redPin3 = 10; // Use pin 10 for red 3
int redPin4 = 11; // Use pin 11 for red 4
int redPin5 = 12; // Use pin 12 for red 5
int redPin6 = 13; // Use pin 13 for red 6