Skip to content

tinywatch display

cbolgiano edited this page Nov 28, 2017 · 4 revisions

Welcome to the tinywatch-display plugin API document!

To use the tinywatch-display plugin:

  1. Add the tinywatch-display.zip to the arduino project.
  2. Include the tinywatch-display.h header file to the tinywatch.ino sketch.
  3. Call TinyWatchDisplay::manageDisplay() in the loop function of the tinywatch.ino sketch.
  4. Call TinyWatchDisplay::getDisplay() in functions that need to mutate display.

void TinyWatchDisplay::setup()

This function creates an instance of TinyScreen that manages the display.

void TinyWatchDisplay::manageDisplay()

This function purpose is to determine the precedence of display control for existing plugins. The display is used to reference TinyScreen.

Clone this wiki locally