-
Notifications
You must be signed in to change notification settings - Fork 1
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:
- Add the
tinywatch-display.zip
to the arduino project. - Include the
tinywatch-display.h
header file to thetinywatch.ino
sketch. - Call
TinyWatchDisplay::manageDisplay()
in theloop
function of thetinywatch.ino
sketch. - Call
TinyWatchDisplay::getDisplay()
in functions that need to mutate display.
This function creates an instance of TinyScreen that manages the display.
This function purpose is to determine the precedence of display control for existing plugins. The
display
is used to reference TinyScreen.