Nathaniel Garcia
/
blink_button_LCD
modified from original -- NG
Fork of blink_kl46z_button_LCD by
Revision 4:8bb1d0776524, committed 2016-09-07
- Comitter:
- Raiden817
- Date:
- Wed Sep 07 18:46:11 2016 +0000
- Parent:
- 3:fc189dd7ac64
- Commit message:
- modified from original code -- NG
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r fc189dd7ac64 -r 8bb1d0776524 main.cpp --- a/main.cpp Wed Aug 24 16:37:09 2016 +0000 +++ b/main.cpp Wed Sep 07 18:46:11 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 //Changed time from .3 to .5 #define BUTTONTIME 0.2 -#define LCDCHARLEN 10 +#define LCDCHARLEN 35 //Changed limit #define NUMMESS 2 #define LRED "RED" #define LGREEN "GREN" -#define PRED "RED\r\n" -#define PGREEN "GREEN\r\n" +#define PRED "You pressed the red button\r\n" //changed the output +#define PGREEN "You pressed the green button\r\n" //changed the output #define PROGNAME "blink_kl46z_buttton LCD v2\r\n" // slightly more interesting blinky 140814 sc