Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG SDFileSystem TS_DISCO_F746NG ResistiveTouchController Map CYS8218Controller MedianFilter
Screens/CalibrateScreen.hpp
- Committer:
- Kerneels Bezuidenhout
- Date:
- 2016-10-03
- Revision:
- 35:6baa558d3b86
- Parent:
- 34:0b308a399f72
- Child:
- 37:93c7563f2078
File content as of revision 35:6baa558d3b86:
#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, int *calPoint, float *calHeldTime);
void Draw();
void Process();
private:
Label _lbTitle;
Button _btBack;
Label _lbMessage;
int *_ballOnPlate;
int *_calPoint;
bool *_calStarted;
int *_calHeldTime;
char _message[50];
void DisplayMessage();
};
#endif