KBrat-SSD541-Final-16-1
Fork of SLCD by
Diff: SLCD.h
- Revision:
- 1:1579bcd31410
- Parent:
- 0:d04758e76d5b
- Child:
- 3:f70873bc6121
--- a/SLCD.h Tue Jan 14 07:00:15 2014 +0000 +++ b/SLCD.h Mon Jan 20 21:08:32 2014 +0000 @@ -3,24 +3,34 @@ #include "mbed.h" + class SLCD : public Stream { public: SLCD(); void init(); - void vfnEnablePins(); - - void vfnLCD_Write_Char(char lbValue); - + void EnablePins(); + void LCD_Write_Char(char lbValue); + void SetBackplanes(void); // reconfigure COM to default values + void LCD_Home (void); + void LCD_Contrast (uint8_t lbContrast); + void LCD_All_Segments_ON (void); + void LCD_All_Segments_OFF (void); + void DP1_ON (void); + void DP1_OFF (void); + void DP2_ON (void); + void DP2_OFF (void); + void DP3_ON (void); + void DP3_OFF (void); + void COLON_ON (void); + void COLON_OFF (void); uint8_t lcd_alternate_mode; - + uint8_t bLCD_CharPosition; + virtual int _putc(int c); virtual int _getc() { return 0; - } - uint8_t bLCD_CharPosition; - + } }; - #endif \ No newline at end of file