dev #18

Merged
Arcmyx merged 59 commits from dev into main 2026-06-04 22:05:59 +00:00
Showing only changes of commit 06bce553aa - Show all commits

View File

@@ -2,7 +2,7 @@ from pybricks.tools import wait, StopWatch
from pybricks import version from pybricks import version
import other_functions as debug import other_functions as debug
from micropython_diagnostics import MicroPythonDiagnostics from micropython_diagnostics import MicroPythonDiagnostics
from pybricks.parameters import Port from pybricks.parameters import Port, Color
from os_diagnostics import OSDiagnostics from os_diagnostics import OSDiagnostics
class HubDiagnostics: class HubDiagnostics:
def __init__(self, hub): def __init__(self, hub):
@@ -25,6 +25,7 @@ class HubDiagnostics:
wait(100) wait(100)
debug.log(f"[Hub Diagnostics - Light Sources] Turning off pixel at position {x}, {y}...", v) debug.log(f"[Hub Diagnostics - Light Sources] Turning off pixel at position {x}, {y}...", v)
self.hub.display.pixel(x, y, brightness=0) self.hub.display.pixel(x, y, brightness=0)
self.hub.light.on(Color.RED)
def printAll(self, verbose=True): def printAll(self, verbose=True):
v = verbose v = verbose