Export for Dan

Fork of MODSERIAL by Andy K

Files at this revision

API Documentation at this revision

Comitter:
atravieso
Date:
Thu Oct 22 23:07:30 2015 +0000
Parent:
25:ae0408ebdd68
Commit message:
This will turn on and off LEDs when command entered on the terminal.

Changed in this revision

example3a.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/example3a.cpp	Tue Jan 08 18:01:03 2013 +0000
+++ b/example3a.cpp	Thu Oct 22 23:07:30 2015 +0000
@@ -63,7 +63,7 @@
     int life_counter = 0;
     
     pc.baud(115200);
-    
+    MODSERIAL::RxIrq = 0;
     pc.attach(&rxCallback, MODSERIAL::RxIrq);
 
     while(1) {