circuitplayground_red_led_blnky_short.py
1 """This is the "Hello, world!" of CircuitPython: Blinky! This example blinks the little red LED on 2 and off! It's a shorter version of the other Blinky example.""" 3 import time 4 from adafruit_circuitplayground.express import cpx 5 6 while True: 7 cpx.red_led = not cpx.red_led 8 time.sleep(0.5)