My final year project

Dependencies:   BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG SDFileSystem TS_DISCO_F746NG ResistiveTouchController Map CYS8218Controller MedianFilter

Screens/AutomaticControlScreen.hpp

Committer:
Generic
Date:
2016-10-02
Revision:
16:6b553c9008ec
Parent:
15:bc63b55a426d
Child:
17:3b6d66253c97

File content as of revision 16:6b553c9008ec:

#ifndef AUTOMATIC_CONTROL_SCREEN_HPP
#define AUTOMATIC_CONTROL_SCREEN_HPP

#include "Screen.hpp"

class AutomaticControlScreen : public Screen
{
public:
  AutomaticControlScreen(int *nextScreen, float *xPos, float *yPos, int *Ts, bool *started, int *ballOnPlate, float *xSP, float *ySP);

  void Draw();
  void Process();

private:
  Label _lbTitle;
  Button _btBack;
  Button _btSettings;
  Button _btStart;
  //Button _btStop;
  Button _btMore;
  NumericLabel<int> _nlbTs;
  Graph _gXPos;
  Graph _gYPos;


  float *_xPos;
  float *_yPos;
  int *_Ts;
  bool *_started;
  int *_ballOnPlate;
  float *_xSP;
  float *_ySP;




};
#endif