MEM / Mbed 2 deprecated ES_3_P1

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
Mattinico
Date:
Mon Oct 17 18:03:25 2016 +0000
Commit message:
fatto

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 Oct 17 18:03:25 2016 +0000
@@ -0,0 +1,14 @@
+#include "mbed.h"
+
+SPI ser_port(D11, D12, D13);
+char switch_word;
+int main() {
+    ser_port.format(8,0);
+    ser_port.frequency(1000000);
+    while(1){
+        switch_word=0xA1;
+        ser_port.write(switch_word);
+        wait_us(100);
+        }
+    
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Oct 17 18:03:25 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/25aea2a3f4e3
\ No newline at end of file