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

16 lines
175 B
Python

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