USBUART - IRQ

Dependencies:   BufferedSerial MODSERIAL ST_401_84MHZ USBDevice mbed

Fork of MPU9250AHRS by ethan hong

Files at this revision

API Documentation at this revision

Comitter:
banhis
Date:
Fri Dec 11 01:45:48 2015 +0000
Parent:
4:cebd240ac324
Commit message:
USBUART - IRQ

Changed in this revision

MODSERIAL.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r cebd240ac324 -r ee1b17f1ac25 MODSERIAL.lib
--- a/MODSERIAL.lib	Fri Dec 11 01:20:59 2015 +0000
+++ b/MODSERIAL.lib	Fri Dec 11 01:45:48 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/AjK/code/MODSERIAL/#ae0408ebdd68
+https://developer.mbed.org/users/banhis/code/MODSERIAL/#954edf3d4ec1
diff -r cebd240ac324 -r ee1b17f1ac25 main.cpp
--- a/main.cpp	Fri Dec 11 01:20:59 2015 +0000
+++ b/main.cpp	Fri Dec 11 01:45:48 2015 +0000
@@ -30,7 +30,8 @@
 //F401_init84 myinit(0);
 #include "mbed.h"
 #include "MPU9250.h"
-#include "BufferedSerial.h"
+#include "MODSERIAL.h"
+#include "MACROS.h"
 //#include "N5110.h"
 
 // Using NOKIA 5110 monochrome 84 x 48 pixel display
@@ -69,10 +70,10 @@
   t.start();        
   
   //lcd.init();
-//  lcd.setBrightness(0.05);
+  //lcd.setBrightness(0.05);
   while(1){
-  ch = pc.getc(); 
-  pc.printf(" %c \r\n", ch);
+    ch = pc.getc(); 
+    pc.printf(" %c \r\n", ch);
   }