diff options
Diffstat (limited to 'Layout/LayoutDemoHelp.cpp')
-rw-r--r-- | Layout/LayoutDemoHelp.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Layout/LayoutDemoHelp.cpp b/Layout/LayoutDemoHelp.cpp new file mode 100644 index 0000000..dab907e --- /dev/null +++ b/Layout/LayoutDemoHelp.cpp @@ -0,0 +1,28 @@ +#include "LayoutDemoHelp.h" + +LayoutDemoHelp::LayoutDemoHelp(DOGS102* lcd) + : Layout(lcd), + _lMode(0, 0, "LoRa Demo"), + _lDesc(0, 1, "Select TX Method"), + _lIns1(0, 4, "Hold SW1 any time"), + _lIns2(0, 5, "for Main Menu"), + _lSw1(10, 7, "Trigger"), + _lSw2(0, 7, "Interval") +{} + +LayoutDemoHelp::~LayoutDemoHelp() {} + +void LayoutDemoHelp::display() { + clear(); + startUpdate(); + + writeLabel(_lMode); + writeLabel(_lDesc); + writeLabel(_lIns1); + writeLabel(_lIns2); + writeLabel(_lSw1); + writeLabel(_lSw2); + + endUpdate(); +} + |