Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.26 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.26 KB

ESP32 firmware to display 8x8 icons coming from IconViewer web app

Setup

  • Build and upload with Platform.IO
  • Provision with Espressif BLE provisioning app for Android or iOS

If reprovisioning is needed: hold boot button (GPIO0) for 5 seconds to clear wifi credentials.

APIs

All of these should respond to OPTIONS correctly and support CORS (from any origin)`.

  • /brightness
    • PUT a text/plain brightness value (0-255)
  • /correction
  • /temperature
  • /icon
    • POST an 'application/octet-stream' representing an icon (see protocol definition below)
    • DELETE the currently displayed icon

Icon protocol definition

byte 0: number of frames
bytes 1-4: 32 bit int duration of frame in ms
bytes 5-192: 8x8x3 frame data (row major, 0 in top left, RGB (no alpha channel) color data for one frame)
bytes 193-196: duration of next frame
... etc