EMencha_Algorithms_HW4.2

Dependencies:   SLCD mbed

Fork of blink_kl46z_button_LCD by Stanley Cohen

Files at this revision

API Documentation at this revision

Comitter:
menchacaeli
Date:
Sat Sep 10 02:59:25 2016 +0000
Parent:
3:fc189dd7ac64
Commit message:
EMench_Algorithms_HW4.2

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r fc189dd7ac64 -r 042cb9411941 main.cpp
--- a/main.cpp	Wed Aug 24 16:37:09 2016 +0000
+++ b/main.cpp	Sat Sep 10 02:59:25 2016 +0000
@@ -6,12 +6,12 @@
 #define NUMBUTS 2
 #define LBUT PTC12  // port addresses for buttons
 #define RBUT PTC3
-#define BLINKTIME 0.3 // in seconds
-#define BUTTONTIME 0.2
-#define LCDCHARLEN 10
+#define BLINKTIME 0.5 // in seconds
+#define BUTTONTIME 0.2 // 
+#define LCDCHARLEN 20
 #define NUMMESS 2
-#define LRED "RED"
-#define LGREEN "GREN"
+#define LRED "REDBUTTONPRESSED"
+#define LGREEN "GREENBUTTONPRESSED"
 #define PRED "RED\r\n"
 #define PGREEN "GREEN\r\n"
 #define PROGNAME "blink_kl46z_buttton LCD v2\r\n"