Cornelius Bezuidenhout / Mbed OS Heiko

Dependencies:   BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG SDFileSystem TS_DISCO_F746NG ResistiveTouchController Map CYS8218Controller MedianFilter

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers CalibrateScreen.hpp Source File

CalibrateScreen.hpp

00001 #ifndef CALIBRATE_SCREEN_HPP
00002 #define CALIBRATE_SCREEN_HPP
00003 
00004 #include "Screen.hpp"
00005 #include "mbed.h"
00006 
00007 class CalibrateScreen : public Screen
00008 {
00009 public:
00010   CalibrateScreen(int *nextScreen, int *ballOnPlate, bool *calStarted, bool *calFinished, int *calPoint, float *calHeldTime);
00011 
00012   void Draw();
00013   void Process();
00014 
00015 private:
00016   Label _lbTitle;
00017   Button _btBack;
00018   Label _lbMessage;
00019 
00020   int *_ballOnPlate;
00021   int *_calPoint;
00022   bool *_calStarted;
00023   bool *_calFinished;
00024   float *_calHeldTime;
00025   char _message[50];
00026 
00027   void DisplayMessage();
00028 
00029 };
00030 #endif