from led_mock_gpio import LED, GPIO
# ------------------------------------------------------------
# Copyright © 2026/2027 Dr. Mohammad Alja'afreh. All rights reserved.
# PSUT IoT Engineering Learning Platform
# ------------------------------------------------------------
led = LED.create_led(17)
led.pattern("..-")
try:
    led.pattern(".x")
except ValueError as e:
    print("Error:", e)
led.cleanup()
