fixxed errors in connecting hub
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# test-mk.py
|
||||
from mkconnect.mouldking.MouldKing import MouldKing
|
||||
|
||||
print("MouldKing erstellen...")
|
||||
hub = MouldKing() # ← sollte jetzt gehen
|
||||
|
||||
print("\nVerfügbare Methoden:")
|
||||
print([m for m in dir(hub) if not m.startswith('_')])
|
||||
|
||||
# Teste ein paar typische Aufrufe (auskommentieren was Sinn macht)
|
||||
# hub.connect()
|
||||
# hub.set_motor('A', 0.5)
|
||||
# hub.stop_all()
|
||||
Reference in New Issue
Block a user