Saltware / Mbed 2 deprecated Water Play

Dependencies:   mbed DRV88255 TextLCD Ping mbed-rtos

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers LCDController.h Source File

LCDController.h

00001 #ifndef __LCDCONTROLLER_H__
00002 #define __LCDCONTROLLER_H__
00003 
00004 #include "mbed.h"
00005 #include "stdio.h"
00006 #include "TextLCD.h"
00007 #include "settings.h"
00008 #include "PIDController.h"
00009 
00010 /** Provides methods to write to the 16x2 LCD screen */
00011 class LCDController {
00012 
00013     
00014     public:
00015         LCDController();
00016         
00017         /** Displays temperature / salinity values and shows if the heater is active or not */
00018         static void updateScreen(float, float, PIDController *pidc);
00019         
00020         /** Displays the volume in the water tank */
00021         static void updateScreen(float);
00022         
00023         /** Shows the splash screen */
00024         static void splash();
00025         
00026         /** Shows the given error, this is used by the AlarmController */
00027         static void showError(const char *msg);
00028         
00029         /** Displays a message showing the pumps are active */
00030         static void showPumping();
00031     
00032     private:
00033         
00034 };
00035 
00036 #endif