Library for the serial LCD-09396 of Sparkfun
Fork of SerLCDv25 by
SerLCDv25.h@1:65590e1ed8ed, 2013-04-05 (annotated)
- Committer:
- Mach5
- Date:
- Fri Apr 05 16:03:36 2013 +0000
- Revision:
- 1:65590e1ed8ed
- Parent:
- 0:497632f57657
sup;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
beelin | 0:497632f57657 | 1 | #ifndef SerLCDv25_H |
beelin | 0:497632f57657 | 2 | #define SerLCDv25_H |
beelin | 0:497632f57657 | 3 | |
beelin | 0:497632f57657 | 4 | #include "mbed.h" |
beelin | 0:497632f57657 | 5 | |
beelin | 0:497632f57657 | 6 | class SerLCDv25 { |
beelin | 0:497632f57657 | 7 | |
beelin | 0:497632f57657 | 8 | public: |
beelin | 0:497632f57657 | 9 | SerLCDv25(PinName rx, PinName tx); |
beelin | 0:497632f57657 | 10 | void clear(); |
beelin | 0:497632f57657 | 11 | void cursorUnderline(); |
beelin | 0:497632f57657 | 12 | void cursorBlinkingBox(); |
beelin | 0:497632f57657 | 13 | void cursorClear(); |
beelin | 0:497632f57657 | 14 | void displayON(); |
beelin | 0:497632f57657 | 15 | void displayOFF(); |
beelin | 0:497632f57657 | 16 | void printf(char *string); //printf(char *string) |
beelin | 0:497632f57657 | 17 | void printValue(float *Value); |
beelin | 0:497632f57657 | 18 | void putc(char lettre); |
beelin | 0:497632f57657 | 19 | void Brightness(int Value); |
Mach5 | 1:65590e1ed8ed | 20 | void splash(); |
beelin | 0:497632f57657 | 21 | private: |
beelin | 0:497632f57657 | 22 | Serial* device; |
beelin | 0:497632f57657 | 23 | }; |
Mach5 | 1:65590e1ed8ed | 24 | void clear(void); |
Mach5 | 1:65590e1ed8ed | 25 | void move_cursor(int,int); |
beelin | 0:497632f57657 | 26 | |
beelin | 0:497632f57657 | 27 | #endif |