LCD4884_MENU

Fork of LCD4884 by Nutthaya Hankla

Revision:
2:57116095aa73
Parent:
1:480f22b7e9ae
--- a/LCD4884.cpp	Wed Dec 09 06:34:57 2015 +0000
+++ b/LCD4884.cpp	Fri Dec 08 04:43:53 2017 +0000
@@ -9,12 +9,12 @@
 * Update DFRobot source to work on FRDM KL25Z
 *
 */
-
+#include "mbed.h"
 #include "LCD4884.h"
 #include "font_6x8.h"
 #include "font_big.h"
 
-DigitalOut SpiClk(D13);    //2- Serial Clock(Master Output)
+DigitalOut SpiClk(D2);    //2- Serial Clock(Master Output)
 DigitalOut SpiMosi(D3);  //3- Master Output,Slave Input
 DigitalOut LcdDC(D4);      //4- Data/Command(command active low)
 DigitalOut SpiCS(D5);      //5- Chip Select,Slave Transmit Enable(active low,Master Output)
@@ -25,7 +25,7 @@
 {};
 
 /******************************************************************/
-void LCD4884::backlight(float dat)
+void LCD4884::backlight(int dat)
 {
     LcdBl = dat;
 }
@@ -271,5 +271,4 @@
     {
         LCD_write_byte(0, 1);
     }
-}
-  
+}
\ No newline at end of file