MicroPython quickstart
Velxio doesn’t approximate MicroPython — it boots the real MicroPython
firmware on the emulated chip. import machine behaves like on
hardware, and the serial monitor
doubles as the REPL.
Try it in one click
Section titled “Try it in one click”Open the gallery’s night-light example — an LDR (photoresistor) controlling an LED, in pure MicroPython:

Note the toolbar: the language selector reads MicroPython and the file
tree shows main.py instead of a sketch. Press Run:

While it runs, click the photoresistor and drag its light level — the ADC reading changes and the LED flips exactly as the code decides.
The essentials
Section titled “The essentials”from machine import Pin, ADCimport time
led = Pin(4, Pin.OUT)ldr = ADC(Pin(34))
while True: if ldr.read() < 1000: # dark led.on() else: led.off() time.sleep_ms(200)machine.Pin/ADC/PWM/I2C/SPI— drive the same simulated peripherals Arduino sketches do.- The REPL — stop your script and type Python interactively in the
serial monitor;
help()works, tab-completion works. - WiFi — on ESP32 boards,
network.WLANjoinsVelxio-GUESTlike on hardware: see ESP32 WiFi. - Extra modules — add pure-Python files next to
main.pyand import them; see Using libraries.
Which boards
Section titled “Which boards”MicroPython is available on the Raspberry Pi Pico / Pico W (its native home) and across the ESP32 family — the full matrix is in Languages. Switch any supported board to MicroPython with the toolbar’s language selector; Velxio swaps the file set for you.