We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba3e0b5 commit 1149178Copy full SHA for 1149178
examples/message_reader.py
@@ -15,7 +15,7 @@
15
print(f'RSP: {alvik.right_wheel.get_speed()}')
16
print(f'LPOS: {alvik.left_wheel.get_position()}')
17
print(f'RPOS: {alvik.right_wheel.get_position()}')
18
- print(f'TOUCH: {alvik.touch_bits}')
+ print(f'TOUCH (UP): {alvik.get_touch_up()}')
19
print(f'RGB: {alvik.red} {alvik.green} {alvik.blue}')
20
print(f'LINE: {alvik.left_line} {alvik.center_line} {alvik.right_line}')
21
print(f'SOC: {alvik.get_battery_charge()}%')
examples/test_idle.py
@@ -11,7 +11,7 @@
11
try:
12
13
if alvik.is_on():
14
- print(f'VER: {alvik.version}')
+ print(f'VER: {alvik.get_version()}')
print(f'LSP: {alvik.left_wheel.get_speed()}')
alvik.set_wheels_speed(speed, speed)
speed = (speed + 1) % 30
0 commit comments