From 2c802449fd51d9904ca265d06b7a5f9969057ae3 Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Fri, 28 Feb 2025 03:13:43 +0800 Subject: [PATCH] add set_alternative_experience method to Panda class (#2168) --- python/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/__init__.py b/python/__init__.py index 3b778e26..39f0d0a7 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -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'')