From 27abca26ea612db185d7549c76bb573b3facc1b7 Mon Sep 17 00:00:00 2001 From: foamyguy Date: Tue, 12 Nov 2024 15:28:58 -0600 Subject: [PATCH] update units in acceleration docstring --- adafruit_bno055.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_bno055.py b/adafruit_bno055.py index 54731ae..d51b64c 100755 --- a/adafruit_bno055.py +++ b/adafruit_bno055.py @@ -409,7 +409,7 @@ def _temperature(self) -> None: @property def acceleration(self) -> Tuple[Optional[float], Optional[float], Optional[float]]: - """Gives the raw accelerometer readings, in m/s. + """Gives the raw accelerometer readings, in m/s^2. Returns an empty tuple of length 3 when this property has been disabled by the current mode. """ if self.mode not in [0x00, 0x02, 0x03, 0x06]: