KBrat-SSD541-Final-16-1
Fork of SLCD by
SLCD.h@0:d04758e76d5b, 2014-01-14 (annotated)
- Committer:
- Sissors
- Date:
- Tue Jan 14 07:00:15 2014 +0000
- Revision:
- 0:d04758e76d5b
- Child:
- 1:1579bcd31410
v0.01
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Sissors | 0:d04758e76d5b | 1 | #ifndef SLCD_H |
Sissors | 0:d04758e76d5b | 2 | #define SLCD_H |
Sissors | 0:d04758e76d5b | 3 | |
Sissors | 0:d04758e76d5b | 4 | #include "mbed.h" |
Sissors | 0:d04758e76d5b | 5 | |
Sissors | 0:d04758e76d5b | 6 | class SLCD : public Stream { |
Sissors | 0:d04758e76d5b | 7 | public: |
Sissors | 0:d04758e76d5b | 8 | SLCD(); |
Sissors | 0:d04758e76d5b | 9 | |
Sissors | 0:d04758e76d5b | 10 | void init(); |
Sissors | 0:d04758e76d5b | 11 | void vfnEnablePins(); |
Sissors | 0:d04758e76d5b | 12 | |
Sissors | 0:d04758e76d5b | 13 | void vfnLCD_Write_Char(char lbValue); |
Sissors | 0:d04758e76d5b | 14 | |
Sissors | 0:d04758e76d5b | 15 | |
Sissors | 0:d04758e76d5b | 16 | uint8_t lcd_alternate_mode; |
Sissors | 0:d04758e76d5b | 17 | |
Sissors | 0:d04758e76d5b | 18 | virtual int _putc(int c); |
Sissors | 0:d04758e76d5b | 19 | virtual int _getc() { |
Sissors | 0:d04758e76d5b | 20 | return 0; |
Sissors | 0:d04758e76d5b | 21 | } |
Sissors | 0:d04758e76d5b | 22 | uint8_t bLCD_CharPosition; |
Sissors | 0:d04758e76d5b | 23 | |
Sissors | 0:d04758e76d5b | 24 | }; |
Sissors | 0:d04758e76d5b | 25 | |
Sissors | 0:d04758e76d5b | 26 | #endif |