#include <Arduino.h>
// ------------------------------------------------------------
// Copyright © 2026/2027 Dr. Mohammad Alja'afreh. All rights reserved.
// PSUT IoT Engineering Learning Platform
// ------------------------------------------------------------
// Arduino Uno: demonstrate digital output using the built-in LED.
// ====================================================================
// 01 / CONFIGURE THE BUILT-IN LED
// ====================================================================
void setup() {
  pinMode(LED_BUILTIN, OUTPUT); // Set LED pin as output.
}
// ====================================================================
// 02 / REPEAT THE THREE-SECOND BLINK CYCLE
// ====================================================================
void loop() {
  digitalWrite(LED_BUILTIN, HIGH); // Turn LED on.
  delay(1000);                    // Wait one second.
  digitalWrite(LED_BUILTIN, LOW);  // Turn LED off.
  delay(2000);                    // Wait two seconds.
}
