10 lines
265 B
Python
10 lines
265 B
Python
from pybricks.hubs import PrimeHub
|
|
from pybricks.parameters import Color
|
|
from pybricks.tools import wait
|
|
import micropython
|
|
hub = PrimeHub()
|
|
hub.light.on(Color.RED)
|
|
wait(100)
|
|
print("Hello, World!")
|
|
print("This is the spike prime hub.")
|
|
print(micropython.mem_info()) |