Welcome to

SimplTronics

Mechatronics made simple

I want toCommunicate information to the userusing anLED

Choose platform

from spike import ColorSensor
from spike.control import wait_for_seconds

# Initialize and Color Sensor(LED)
light = ColorSensor('A')

# Initialize loop
while True:
  # Blink light with 1 second intervals
  light.light_up_all()
  wait_for_seconds(1)
  light.light_up_all(0)
  wait_fo}_seconds(1)
Follow this guide