mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 17:46:19 +00:00
11 lines
191 B
Python
11 lines
191 B
Python
from pybricks.hubs import PrimeHub
|
|
from pybricks.tools import wait
|
|
|
|
# Initialize the hub.
|
|
hub = PrimeHub()
|
|
|
|
# Count from 0 to 99.
|
|
for i in range(100):
|
|
hub.display.number(i)
|
|
wait(200)
|