Display code

Dependencies:   mbed reScale RotaryEncoder RPG Adafruit_ST7735 Adafruit_GFX PinDetect Ee24xx08 mRotaryEncoder

Files at this revision

API Documentation at this revision

Comitter:
BETZtechnik
Date:
Sun Feb 24 21:30:05 2019 +0000
Parent:
4:d3c19705042b
Child:
6:84ea3ec0660d
Commit message:
232 working, freezing fixed

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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) {