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: mbed DRV88255 TextLCD Ping mbed-rtos
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
Generated on Tue Jul 12 2022 18:59:29 by
1.7.2