Peter Betz / Mbed 2 deprecated accuBlast_inputs_DUAL

Dependencies:   mbed reScale USBDevice

Revision:
16:69155b34efd6
Parent:
15:d3c19705042b
Child:
17:84ea3ec0660d
--- a/main.cpp	Tue Feb 19 05:56:39 2019 +0000
+++ b/main.cpp	Sun Feb 24 21:30:05 2019 +0000
@@ -25,7 +25,7 @@
 
 
 I2C iic(P0_5, P0_4);
-Serial device(P0_14, P0_13, 19200);  // RS 485  TX RX?
+
 
 DigitalOut dir(P0_21);
 
@@ -189,6 +189,9 @@
       int Ones = 0;
       
       dir = 0;
+      
+      wait(2);
+      Serial device(P0_14, P0_13, 19200);  // RS 485  TX RX?
     
     while(1) {