fix style issues

This commit is contained in:
2019-09-10 16:33:18 +02:00
parent 77d01ca675
commit 94e60ee172
14 changed files with 64 additions and 61 deletions

View File

@ -7,6 +7,7 @@ import termios
DE_PIN = 0
class MyRS485(serial.Serial):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
@ -24,4 +25,3 @@ class MyRS485(serial.Serial):
break
# wiringpi.digitalWrite(DE_PIN, wiringpi.LOW)
Pins.pinsWrite('DE', False)