add set_alternative_experience method to Panda class (#2168)

This commit is contained in:
Dean Lee
2025-02-28 03:13:43 +08:00
committed by GitHub
parent 25591f1b3a
commit 2c802449fd

View File

@@ -710,6 +710,9 @@ class Panda:
# ******************* configuration *******************
def set_alternative_experience(self, alternative_experience):
self._handle.controlWrite(Panda.REQUEST_OUT, 0xdf, int(alternative_experience), 0, b'')
def set_power_save(self, power_save_enabled=0):
self._handle.controlWrite(Panda.REQUEST_OUT, 0xe7, int(power_save_enabled), 0, b'')