summaryrefslogtreecommitdiff
path: root/Layout/LayoutDemoSampling.h
diff options
context:
space:
mode:
Diffstat (limited to 'Layout/LayoutDemoSampling.h')
-rw-r--r--Layout/LayoutDemoSampling.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Layout/LayoutDemoSampling.h b/Layout/LayoutDemoSampling.h
index 9d075b2..a590966 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(int16_t x);
+ void updateAccelerationY(int16_t y);
+ void updateAccelerationZ(int16_t z);
+ void updatePressure(float pressure);
+ void updateAltitude(float altitude);
+ void updateTemperature(float temperature);
+ void updateLight(float light);
private:
Label _lAccx;