Skip to content

Commit fe8af5a

Browse files
committed
fix: initial tilt to be set to -Z (arbitrary)
1 parent d2bdc4f commit fe8af5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino_alvik/arduino_alvik.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ def _move_bits(self) -> int:
737737
Returns the shake/tilt state
738738
:return:
739739
"""
740-
return (self._move_byte & 0xFF) if self._move_byte is not None else 0x00
740+
return (self._move_byte & 0xFF) if self._move_byte is not None else 0x80
741741

742742
def get_shake(self) -> bool:
743743
"""

0 commit comments

Comments
 (0)