Allows for a 90 frame animated gauge to be display on the uLCD
Diff: uLCD_gauges.h
- Revision:
- 2:38006c26dda5
- Parent:
- 1:5666427710f2
- Child:
- 4:069b01d563a3
--- a/uLCD_gauges.h Fri Mar 13 14:05:32 2015 +0000 +++ b/uLCD_gauges.h Fri Mar 13 15:20:33 2015 +0000 @@ -1,3 +1,11 @@ +/** +* @file uLCD_gauges.h +* @brief This header file lists the functions needed to control gauge display on the uLCD +* +* @author Matthew Arceri and Harsha Nori +* +* @date 3/13/2015 +*/ #ifndef ULCD_GAUGES_H #define ULCD_GAUGES_H @@ -7,7 +15,7 @@ class uLCD_gauges { public: uLCD_gauges(uLCD_4DGL& screen, float min, float max); - uLCD_gauges(uLCD_4DGL& screen, float min, float max, long memoryAddressHigh, long memoryAddressLow); + uLCD_gauges(uLCD_4DGL& screen, float min, float max, int lowF, int highF, long memoryAddressHigh, long memoryAddressLow); void start(); void update(float value); @@ -17,6 +25,7 @@ float maxVal; float mapOffset; float mapSlope; + float highFrame; long memHigh; long memLow; };