added firmware info to hendi and motor driver

This commit is contained in:
2026-07-02 16:33:37 +02:00
parent 452d8ddd4b
commit 1bcabb0ccc
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -38,9 +38,11 @@ class HendiCtrl:
try:
self.sw_id = self.getSoftwareIdentifier()
self.sw_ver = self.getSoftwareVersion()
print(f"{self.sw_id}, F/W-Version: {self.sw_ver}")
except HendiException:
print("HendiCtrl: Hendi not found")
@contextmanager
def remote_open(self):
try:
+1 -1
View File
@@ -60,7 +60,7 @@ class Pololu1376:
self.stop()
print("F/W-Version:", self.get_firmware_version())
print("Pololu1376 F/W-Version:", self.get_firmware_version())
def send(self, data):
self.ser.write((data + '\r\n').encode())