dev #12

Merged
Arcmyx merged 45 commits from dev into main 2025-12-19 22:45:13 +00:00
Showing only changes of commit c8b72eff51 - Show all commits

View File

@@ -1,6 +1,6 @@
from pybricks.tools import wait, StopWatch
from pybricks import version
from OtherFunctions import vprint
import OtherFunctions as debug
import usys
print("Pybricks version information:", version)
@@ -21,8 +21,8 @@ class HubDiagnostics:
self.hub.display.off()
for x in range(5):
for y in range(5):
vprint(f"Turning on pixel at position {x}, {y}...", v)
debug.log(f"Turning on pixel at position {x}, {y}...", v)
display.pixel(x, y, brightness=100)
wait(100)
vprint(f"Turning off pixel at position {x}, {y}...", v)
debug.log(f"Turning off pixel at position {x}, {y}...", v)
display.pixel(x, y, brightness=0)