Skip to main content

API Reference

Runtime JavaScript

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): byteOrder option for decodeJPEG, decodeBMP, drawJPEG, drawBMP
  • DVI (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

Key terms