![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Display code
Dependencies: mbed reScale RotaryEncoder RPG Adafruit_ST7735 Adafruit_GFX PinDetect Ee24xx08 mRotaryEncoder
Diff: main.cpp
- Revision:
- 5:69155b34efd6
- Parent:
- 4:d3c19705042b
- Child:
- 6: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) {