/*  debug file:
 *
 *  Find the 4 bugs in this programme and debug them. 
 *
 *  created 25.01.2022  by Mike Kramler, TUMlab, Munic
 *  modified 07.03.2022  by Marion Pellowski, TUMlab, Munic
 */

#include "tumlab.h"     // Include class definitions

Light ledRed(13);       // creating an object: red LED
Light ledYellow(12);    // creating an object: yellow LED
Light ledGreen(11);     // creating an object: green LED

void setup() {
  // remains empty for now
}

void loop() { 
  ledGreen.go(HIGH);    // Switches green LED on
  delay(500);           // waits for 500 milliseconds
  ledGreen.go(LOW);     // Switches green LED off
  ledYellow.go(HIGH);   // ...
  delay(500);         
  ledYellow.go(LOW);
  ledRed.go(HIGH);   
  delay(500);
  ledRed.go(LOW);
  ledYellow.go(HIGH);   
  delay(500);
  ledYellow.go(LOW);
};