Skip to content

Hello 4ZeroBox

In this demo we will show how to run the simplest firmware on the 4ZeroBox.

More information about modules used in this demo:

from bsp import board
import gpio

# Print initial message.
print("Hello Zerynth!")

# Infinite loop.
while True:

    print("4ZeroBox led off")

    print("4ZeroBox led on")

In the first lines the board module is imported for the initial configuration of the 4ZeroBox.

The demo then prints an "Hello Zerynth!" message on the standard serial port (it can be read by opening it pressing Console in VSCode).

The code then enters an infinite loop that alternately turns on and off the blue led and prints the led status.