Test

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
TVA
Date:
Mon Feb 05 13:18:42 2018 +0000
Commit message:
Test

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Feb 05 13:18:42 2018 +0000
@@ -0,0 +1,10 @@
+#include "mbed.h"
+
+Serial device(PD_5,A0,9600);
+
+int main() {
+   device.format(8,SerialBase::None,1);
+   while(1){
+           printf("0X%x\n\r",device.getc());
+    } // end while 1
+} // end main
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Feb 05 13:18:42 2018 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/7130f322cb7e
\ No newline at end of file