Program for the water play project for the course Software Testing Practical 2016 given at the VU University
Dependencies: mbed DRV88255 TextLCD Ping mbed-rtos
LCDController.h
- Committer:
- sbouber1
- Date:
- 2016-06-24
- Revision:
- 80:38e274c4dafa
- Parent:
- 65:b277b4067d4a
File content as of revision 80:38e274c4dafa:
#ifndef __LCDCONTROLLER_H__
#define __LCDCONTROLLER_H__
#include "mbed.h"
#include "stdio.h"
#include "TextLCD.h"
#include "settings.h"
#include "PIDController.h"
/** Provides methods to write to the 16x2 LCD screen */
class LCDController {
public:
LCDController();
/** Displays temperature / salinity values and shows if the heater is active or not */
static void updateScreen(float, float, PIDController *pidc);
/** Displays the volume in the water tank */
static void updateScreen(float);
/** Shows the splash screen */
static void splash();
/** Shows the given error, this is used by the AlarmController */
static void showError(const char *msg);
/** Displays a message showing the pumps are active */
static void showPumping();
private:
};
#endif