mkcontrol-app/other/test-mk.py

13 lines
375 B
Python

# 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()