This commit is contained in:
Oskar Kapala 2025-07-28 14:45:33 +02:00
commit 2ebfe32030

13
sample.py Normal file
View file

@ -0,0 +1,13 @@
from buildhat import Motor
import time
motorA = Motor('A')
motorB = Motor('B')
motorA.start(50)
motorB.start(50)
time.sleep(3)
motorA.stop()
motorB.stop()