This program supports the following boards: ARCHPRO,TARGET_K64F,STM32F401xE,STM32F030,LPC1549,KL25Z

Dependencies:   TextLCD mbed

Fork of LCD_Shield-KL25Z by Ryoji Sakai

Revision:
1:c04ae2fc1a27
Parent:
0:ca0a38f28cbe
Child:
2:796f7d90beac
--- a/main.cpp	Thu Mar 13 14:40:15 2014 +0000
+++ b/main.cpp	Fri Mar 14 14:17:00 2014 +0000
@@ -7,6 +7,7 @@
     //  LCD (RS, E, D4, D5, D6, D7)
     TextLCD lcd(PTA13, PTD5, PTA4, PTA5, PTC8, PTC9); // LCD Shield for Arduino (DFR00009)
     AnalogIn button(PTB0);  // board button
+    PwmOut backlight(PTD0);
 #endif
 
 /***
@@ -38,6 +39,7 @@
 {
     int count = 0;
 #ifdef TARGET_KL25Z
+    backlight = 1;  // ON: 1, OFF: 0
     lcd.cls();
     lcd.printf("HELLO");
 #endif