button interrupt with LED's and slider/LCD display demo
Fork of blink_kl46z_button_nowait by
Diff: main.cpp
- Revision:
- 5:dc506f422393
- Parent:
- 4:db8f1d2ff809
- Child:
- 6:a109f45fae66
--- a/main.cpp Thu Sep 24 15:04:19 2015 +0000 +++ b/main.cpp Thu Sep 24 15:08:25 2015 +0000 @@ -1,5 +1,4 @@ #include "mbed.h" -#include "SLCD.h" #define LEDON false #define LEDOFF true @@ -13,9 +12,6 @@ #define PROGNAME "blink_kl46z_buttton no wait\r\n" -// slightly more interesting blinky 140814 sc -SLCD slcd; //define LCD display - // Timer to elliminate wait() function Timer LEDTimer; // for blinking LEDs Timer ButtonTimer; // for reading button states @@ -33,11 +29,6 @@ } } -void LCDMess(char *lMess){ - slcd.Home(); - slcd.clear(); - slcd.printf(lMess); -} void initialize_global_vars(){ pc.printf(PROGNAME);