Juraj Ďuďák пре 9 месеци
родитељ
комит
938fee0cc1
3 измењених фајлова са 3 додато и 3 уклоњено
  1. 1 1
      Modules/nbus
  2. 1 1
      test/app.py
  3. 1 1
      test/nbus_system.py

+ 1 - 1
Modules/nbus

@@ -1 +1 @@
-Subproject commit d3679a74e92509b5e3c048853291235cd68fbbea
+Subproject commit f0b26d6f998502fb6542f1f63e81a6b41922238f

+ 1 - 1
test/app.py

@@ -15,7 +15,7 @@ def show_data(data):
 
 if __name__ == "__main__":
 
-    nbus = NbusSystem(False)
+    nbus = NbusSystem(True)
     s1_adr = 5
     s2_adr = 6
     adrs = [s1_adr]

+ 1 - 1
test/nbus_system.py

@@ -6,7 +6,7 @@ class NbusSystem:
     slaves = {}
 
     def __init__(self, debug=False):
-        self.serial_port = SerialComm('/dev/ttyUSB0', debug)
+        self.serial_port = SerialComm('/dev/ttyACM0', debug)
 
     def create_slave(self, clazz, slave_address):
         slave = None