My final year project

Dependencies:   BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG SDFileSystem TS_DISCO_F746NG ResistiveTouchController Map CYS8218Controller MedianFilter

Screens/CalibrateScreen.hpp

Committer:
Generic
Date:
2016-10-26
Revision:
62:58e846621435
Parent:
37:93c7563f2078

File content as of revision 62:58e846621435:

#ifndef CALIBRATE_SCREEN_HPP
#define CALIBRATE_SCREEN_HPP

#include "Screen.hpp"
#include "mbed.h"

class CalibrateScreen : public Screen
{
public:
  CalibrateScreen(int *nextScreen, int *ballOnPlate, bool *calStarted, bool *calFinished, int *calPoint, float *calHeldTime);

  void Draw();
  void Process();

private:
  Label _lbTitle;
  Button _btBack;
  Label _lbMessage;

  int *_ballOnPlate;
  int *_calPoint;
  bool *_calStarted;
  bool *_calFinished;
  float *_calHeldTime;
  char _message[50];

  void DisplayMessage();

};
#endif