2026-03-12 16:40:50 -05:00
|
|
|
from pybricks.hubs import PrimeHub
|
|
|
|
|
from pybricks.parameters import Color
|
2026-03-21 12:44:27 -05:00
|
|
|
from pybricks.tools import wait
|
2026-03-21 16:34:44 -05:00
|
|
|
import micropython
|
2026-03-12 16:40:50 -05:00
|
|
|
hub = PrimeHub()
|
2026-03-21 16:34:44 -05:00
|
|
|
hub.light.on(Color.RED)
|
|
|
|
|
wait(100)
|
|
|
|
|
print("Hello, World!")
|
|
|
|
|
print("This is the spike prime hub.")
|
|
|
|
|
print(micropython.mem_info())
|