commit 2ebfe32030e391babd033dfffd39754cdd56b401 Author: Oskar Kapala Date: Mon Jul 28 14:45:33 2025 +0200 sample diff --git a/sample.py b/sample.py new file mode 100644 index 0000000..009c8c4 --- /dev/null +++ b/sample.py @@ -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() \ No newline at end of file