Remote inc coolant nozzle control program

Dependencies:   mbed reScale USBDevice

Dependents:   Nozzle_inputs Nozzle_display

Revision:
9:69155b34efd6
Parent:
7:d3c19705042b
Child:
10:84ea3ec0660d
diff -r d3c19705042b -r 69155b34efd6 main.cpp
--- 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) {