Monocle
stable

Firmware

  • Getting Started
  • Firmware Architecture
  • Firmware Python API
    • machine
    • uio
    • utime
  • Firmware Driver API

FPGA

  • Getting Started

Hardare

  • Getting Started
  • Hardware Architecture

Phone App

  • Getting Started
  • Phone App Architecture
Monocle
  • Firmware Python API
  • Edit on GitHub

Firmware Python API

Using Micropython, the Monocle firmware can execute Python applications to drive the device.

Firmware

  • machine
    • Battery
      • Battery.level()
    • FPGA
      • FPGA.spi_read()
      • FPGA.spi_write()
    • Power
      • Power.reset()
      • Power.reset_cause()
    • Touch
      • Touch.TOUCH_TRIGGER_0_TAP
      • Touch.TOUCH_TRIGGER_1_TAP
      • Touch.TOUCH_TRIGGER_BOTH_TAP
      • Touch.TOUCH_TRIGGER_0_PRESS
      • Touch.TOUCH_TRIGGER_1_PRESS
      • Touch.TOUCH_TRIGGER_BOTH_PRESS
      • Touch.TOUCH_TRIGGER_0_LONG
      • Touch.TOUCH_TRIGGER_1_LONG
      • Touch.TOUCH_TRIGGER_BOTH_LONG
      • Touch.TOUCH_TRIGGER_0_1_SLIDE
      • Touch.TOUCH_TRIGGER_1_0_SLIDE
    • bootloader()
  • uio
  • utime
Previous Next

© Copyright 2022, Brilliant Labs. Revision c8ac37fc.

Built with Sphinx using a theme provided by Read the Docs.