File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
examples/Serial/ansiSerial Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,11 @@ www.r-site.net
3030
3131using namespace Menu ;
3232
33+ Print& operator <<(Print&o, Menu::prompt&p) {
34+ print_P (o,p.getText ());
35+ return o;
36+ }
37+
3338#ifdef ARDUINO_SAM_DUE
3439 #define LEDPIN 13
3540#else
@@ -296,7 +301,7 @@ result idle(menuOut& o,idleEvent e) {
296301
297302void setup () {
298303 pinMode (LEDPIN,OUTPUT);
299- Serial.begin (115200 );
304+ Serial.begin (9600 );
300305 while (!Serial);
301306 Serial<<" menu 3.0 test" <<endl;Serial.flush ();
302307 nav.idleTask =idle;// point a function to be used when menu is suspended
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ lib_dir=~/Arduino/Libraries
1515platform = atmelavr
1616board = nanoatmega328
1717framework = arduino
18- build_flags = -Wno-comment -Wno-reorder -Wno-strict-aliasing -Wno-builtin-macro-redefined -Wno-strict-aliasing -DDEBUG
18+ build_flags = -Wno-comment -Wno-reorder -Wno-strict-aliasing -Wno-builtin-macro-redefined -Wno-strict-aliasing
1919
2020; [env:teensy31]
2121; platform = teensy
You can’t perform that action at this time.
0 commit comments