LCD4884_MENU
Fork of LCD4884 by
Diff: LCD4884.h
- Revision:
- 2:57116095aa73
- Parent:
- 1:480f22b7e9ae
diff -r 480f22b7e9ae -r 57116095aa73 LCD4884.h --- a/LCD4884.h Wed Dec 09 06:34:57 2015 +0000 +++ b/LCD4884.h Fri Dec 08 04:43:53 2017 +0000 @@ -16,7 +16,7 @@ #include "mbed.h" // SPI Interface --- (on arduino Arduino Digital Pin 2,3,4,5,6) -//#define SPI_SCK D13 //Serial Clock(Master Output) +//#define SPI_SCK D2 //Serial Clock(Master Output) //#define SPI_MOSI D3 //Master Output,Slave Input //#define LCD_DC D4 //Data/Command(command active low) //#define SPI_CS D5 //Chip Select,Slave Transmit Enable(active low,Master Output) @@ -41,7 +41,7 @@ public: LCD4884(); void LCD_init(void); - void backlight(float dat); + void backlight(int dat); void LCD_write_byte(unsigned char dat, unsigned char dat_type); void LCD_draw_bmp_pixel(unsigned char X,unsigned char Y,unsigned char *map,unsigned char Pix_x,unsigned char Pix_y); void LCD_write_string(unsigned char X,unsigned char Y,char *s, char mode);