Add auto dim led panel
This commit is contained in:
parent
3aaaad6fcf
commit
3706fd6ade
2 changed files with 44 additions and 3 deletions
|
@ -106,7 +106,7 @@ class SenseHat:
|
|||
def gamma(self): ...
|
||||
@gamma.setter
|
||||
def gamma(self, buffer): ...
|
||||
def gamma_reset(self): # -> None:
|
||||
def gamma_reset(self) -> None: # -> None:
|
||||
"""
|
||||
Resets the LED matrix gamma correction to default
|
||||
"""
|
||||
|
@ -213,7 +213,9 @@ class SenseHat:
|
|||
def accel(self): ...
|
||||
@property
|
||||
def accelerometer(self): ...
|
||||
def get_accelerometer_raw(self): # -> dict[str, Any] | dict[str, int]:
|
||||
def get_accelerometer_raw(
|
||||
self,
|
||||
) -> dict[str, int]: # -> dict[str, Any] | dict[str, int]:
|
||||
"""
|
||||
Accelerometer x y z raw data in Gs
|
||||
"""
|
||||
|
|
Reference in a new issue