# ------------------------------------------------------------
# Copyright © 2026/2027 Dr. Mohammad Alja'afreh. All rights reserved.
# PSUT IoT Engineering Learning Platform
# ------------------------------------------------------------
# ---- gpiozero: blink in background
from gpiozero import LED
from signal import pause
 
led = LED(17)       # BCM 17, output
# Blink in the background:
# 0.5 s on, 0.5 s off.
led.blink(on_time=0.5, off_time=0.5)
pause()             # keep running
