HW 4.2 Dorian Folie modified

Dependencies:   SLCD mbed

Fork of blink_kl46z_button_LCD by Stanley Cohen

Files at this revision

API Documentation at this revision

Comitter:
dorian505
Date:
Mon Sep 12 04:50:36 2016 +0000
Parent:
3:fc189dd7ac64
Commit message:
HW modified program;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r fc189dd7ac64 -r f7410e2468ad main.cpp
--- a/main.cpp	Wed Aug 24 16:37:09 2016 +0000
+++ b/main.cpp	Mon Sep 12 04:50:36 2016 +0000
@@ -6,14 +6,14 @@
 #define NUMBUTS 2
 #define LBUT PTC12  // port addresses for buttons
 #define RBUT PTC3
-#define BLINKTIME 0.3 // in seconds
+#define BLINKTIME 0.5 // in seconds
 #define BUTTONTIME 0.2
 #define LCDCHARLEN 10
 #define NUMMESS 2
 #define LRED "RED"
 #define LGREEN "GREN"
-#define PRED "RED\r\n"
-#define PGREEN "GREEN\r\n"
+#define PRED "RED button pushed\r\n"
+#define PGREEN "GREEN button pushed\r\n"
 #define PROGNAME "blink_kl46z_buttton LCD v2\r\n"
 
 // slightly more interesting blinky 140814 sc