Arduino
void loop() // The following code is repeatedly executed
{
  digitalWrite(LED1, HIGH);  // Turn on the LED
  delay(500);                // Wait 0.5 seconds
  digitalWrite(LED1, LOW);   // Turn off the LED
  delay(500);                // Wait 0.5 seconds
}