From 32194e901049ddd4f9d954720583363e05b762e2 Mon Sep 17 00:00:00 2001 From: Mike Fiore Date: Tue, 17 Nov 2015 13:37:39 -0600 Subject: add config layout, remove lots of logging --- Layout/LayoutConfig.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Layout/LayoutConfig.cpp (limited to 'Layout/LayoutConfig.cpp') diff --git a/Layout/LayoutConfig.cpp b/Layout/LayoutConfig.cpp new file mode 100644 index 0000000..dc28738 --- /dev/null +++ b/Layout/LayoutConfig.cpp @@ -0,0 +1,23 @@ +#include "LayoutConfig.h" + +LayoutConfig::LayoutConfig(DOGS102* lcd) + : Layout(lcd), + _lMode(0, 0, "Configuration"), + _lHelp1(0, 2, "Connect USB debug"), + _lHelp2(0, 3, "to PC at 115200"), + _lHelp3(0, 4, "baud to configure") +{} + +LayoutConfig::~LayoutConfig() {} + +void LayoutConfig::display() { + clear(); + startUpdate(); + + writeLabel(_lMode); + writeLabel(_lHelp1); + writeLabel(_lHelp2); + writeLabel(_lHelp3); + + endUpdate(); +} -- cgit v1.2.3