"""
Franzininho WiFi + CiruitPython early prototype
 
To use start the simulation.
After a few seconds, you should see the CircuitPython prompt.

Type `import code` (without the backticks to run the code)
"""

import board
import time
from digitalio import DigitalInOut, Direction

# Setting the LED pin, the LED defined was pin 4 = IO4
led = DigitalInOut(board.IO4)
led.direction = Direction.OUTPUT

# Infinite loop - always running
while True:    
    led.value = True
    time.sleep(0.5)
    led.value = False
    time.sleep(0.5)
Loading
franzininho-wifi