/*led blinking*/
const int ledPinR =5;
const int ledPinG =6;
const int ledPinY =7;
void setup() {
  // put your setup code here, to run once:
pinMode (ledPinR, OUTPUT);
pinMode (ledPinG, OUTPUT);
pinMode (ledPinY, OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
digitalWrite (ledPinR, HIGH); //turn on LED
delay(100); // this speeds up the simulation
digitalWrite (ledPinG, LOW); //turn off LED
delay(1000); // this speeds up the simulation
digitalWrite (ledPinY, LOW); //turn off LED
delay(1000); // this speeds up the simulation
digitalWrite (ledPinR, LOW); //turn on LED
delay(100); // this speeds up the simulation
digitalWrite (ledPinG, HIGH); //turn off LED
delay(1000); // this speeds up the simulation
digitalWrite (ledPinY, LOW); //turn off LED
delay(1000); // this speeds up the simulation
digitalWrite (ledPinR, LOW); //turn on LED
delay(100); // this speeds up the simulation
digitalWrite (ledPinG, LOW); //turn off LED
delay(1000); // this speeds up the simulation
digitalWrite (ledPinY, HIGH); //turn off LED
delay(1000); // this speeds up the simulation

}