Allows for a 90 frame animated gauge to be display on the uLCD

Dependents:   uLCDgaugeTest

uLCD_gauges.h

Committer:
Striker121
Date:
2015-03-12
Revision:
0:9101c0ce36a1
Child:
1:5666427710f2

File content as of revision 0:9101c0ce36a1:

#ifndef ULCD_GAUGES_H
#define ULCD_GAUGES_H
 
#include "uLCD_4DGL.h"
#include "mbed.h"
 
class uLCD_gauges {
public:
    uLCD_gauges(uLCD_4DGL& screen, float min, float max);
    void start();
    void update(float value);
  
private:  
    uLCD_4DGL *uLCD;
    float minVal;
    float maxVal;
    float mapOffset;
    float mapSlope;
};
 
#endif