Cornelius Bezuidenhout / Mbed OS Heiko

Dependencies:   BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG SDFileSystem TS_DISCO_F746NG ResistiveTouchController Map CYS8218Controller MedianFilter

Screens/AutomaticSettingsScreen.hpp

Committer:
Generic
Date:
2016-10-03
Revision:
23:bab197887d5e
Parent:
22:dd9ff475b34c

File content as of revision 23:bab197887d5e:

#ifndef AUTOMATIC_SETTINGS_SCREEN_HPP
#define AUTOMATIC_SETTINGS_SCREEN_HPP

#include "Screen.hpp"

class AutomaticSettingsScreen : public Screen
{
public:
  AutomaticSettingsScreen(int *nextScreen, float *P, float *I, float *D, float *Ts);

  void Draw();
  void Process();

private:
  Label _lbTitle;
  Button _btBack;
  NumericLabel<float> _nlbP;
  Button _btP;
  NumericLabel<float> _nlbI;
  Button _btI;
  NumericLabel<float> _nlbD;
  Button _btD;
  NumericLabel<float> _nlbTs;
  Button _btTs;

  float *_P;
  float *_I;
  float *_D;
  float *_Ts;
};
#endif