Logicraft Studios
Offline Arduino, RP2040 & ESP32 simulator
Starting local backend…
Logicraft Studios LogoLogicraft StudiosSTUDIO
ExamplesEditorAboutGitHub
Logicraft Studios / Examples / ESP32 + MicroPython: use an external library
ESP32 + MicroPython: use an external library
DisplaysbeginnerESP32

ESP32 + MicroPython: use an external library

How a MicroPython project uses a library in Logicraft Studios: there is no requirements.txt and no package manager — the driver is a .py file in the workspace. Every file here is copied onto the board's filesystem before main.py runs, so `import ssd1306` picks up the ssd1306.py next to it and draws on the wired OLED. The toolbar's Library Manager installs ARDUINO libraries and has no effect in MicroPython mode.

What you'll simulate

  • ✓Real ESP32 emulation — cycle-accurate, no hardware needed
  • ✓1 interactive component on the canvas
  • ✓Serial Monitor included — see output in real time
← Back to examples