fork the master
Dependencies: TextLCD mbed-rtos mbed
Fork of Pacemaker by
Diff: main.cpp
- Revision:
- 11:dd278ffcb31f
- Parent:
- 10:19a2ce5660ea
- Child:
- 12:53c2af2009d4
--- a/main.cpp Mon Dec 01 00:54:03 2014 +0000 +++ b/main.cpp Mon Dec 01 21:08:41 2014 +0000 @@ -11,6 +11,7 @@ #include "LPC17xx.h" #include "TextLCD.h" #include "rtos.h" +#include <ctype.h> #define AVI_h 100 #define AVI_l 30 @@ -164,7 +165,7 @@ { char buffer; if(pc.readable()) { - buffer = pc.getc(); + buffer = toupper(pc.getc()); if (buffer == 'N') { mode = buffer;