//-- Programming the skymega's test led //-- The skymega's led is attached to pin 13 //-- Same as Arduino const int LED=13; //-- LED sates: const int ON = HIGH; const int OFF = LOW; void setup() { // The LED is an output pinMode(LED, OUTPUT); } void loop() { digitalWrite(LED, ON); // set the LED on delay(100); digitalWrite(LED, OFF); // set the LED off delay(100); }