diff options
author | Leon Lindenfelser <llindenfelser@multitech.com> | 2015-12-09 15:57:07 -0600 |
---|---|---|
committer | Leon Lindenfelser <llindenfelser@multitech.com> | 2015-12-09 15:57:07 -0600 |
commit | 96b7412369c44c3cc7608859c19161073cd114da (patch) | |
tree | 3ab007d9093f7ad2045f688760e37cfa00c87ccd /Layout/LayoutDemoSampling.h | |
parent | 01988b37d50f8e5fefd2d21aea8102683c6917a1 (diff) | |
download | mtdot-box-evb-factory-firmware-96b7412369c44c3cc7608859c19161073cd114da.tar.gz mtdot-box-evb-factory-firmware-96b7412369c44c3cc7608859c19161073cd114da.tar.bz2 mtdot-box-evb-factory-firmware-96b7412369c44c3cc7608859c19161073cd114da.zip |
Display sensor data on demo screen.
Diffstat (limited to 'Layout/LayoutDemoSampling.h')
-rw-r--r-- | Layout/LayoutDemoSampling.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Layout/LayoutDemoSampling.h b/Layout/LayoutDemoSampling.h index 9d075b2..f3faceb 100644 --- a/Layout/LayoutDemoSampling.h +++ b/Layout/LayoutDemoSampling.h @@ -2,6 +2,7 @@ #define __LAYOUTDEMOSAMPLING_H__ #include "Layout.h" +#include "MMA845x.h" class LayoutDemoSampling : public Layout { public: @@ -14,6 +15,13 @@ class LayoutDemoSampling : public Layout { void updateSw2(std::string sw2); void updateCountdown(uint32_t seconds); void updateInterval(uint32_t seconds); + void updateAccelerationX(uint16_t x); + void updateAccelerationY(uint16_t y); + void updateAccelerationZ(uint16_t z); + void updatePressure(float pressure); + void updateAltitude(float altitude); + void updateTemperature(float temperature); + void updateLight(float light); private: Label _lAccx; |