pi-lego-spike/sample.py
2025-07-28 18:18:10 +02:00

16 lines
176 B
Python

from buildhat import Motor
import time
motorA = Motor('A')
motorB = Motor('B')
motorA.start(10)
motorB.start(100)
time.sleep(4)
motorA.stop()
motorB.stop()
# silniki -100