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