API Reference
Runtime JavaScript
- Console, timers, and globals: see Runtime JavaScript
Modules
- Core modules: Built-in Modules
- Hardware modules: Built-in Modules
Display and Image APIs
These display helpers are globals or built-in modules, depending on the board:
screen(global):screen.getBufferHandle(),screen.getByteOrder()graphics(global):graphics.getPointer(handle)image(module):byteOrderoption fordecodeJPEG,decodeBMP,drawJPEG,drawBMPDVI(global on DVI boards):DVI.getDrawBuffer(),DVI.swapAndShow()
Notes
Refer to the REPL .help output or the runtime source for details while the API docs expand.
If something feels missing, check the source or open an issue so we can document it.
Example map
- Want timers or console? Start at Runtime JavaScript
- Want GPIO, files, or NeoPixels? Start at Built-in Modules