Skip to content

Commit 6fc16d0

Browse files
authored
Correct cheat sheet
1 parent 4e94d6c commit 6fc16d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

programming/cheat_sheet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ You can read an analogue value from the analogue pins of the Arduino:
237237
~~~~~ python
238238
robot.arduino.pins[A0].mode = INPUT
239239

240-
value = robot.arduino.pins[A0].analogue_read()
240+
value = robot.arduino.pins[A0].analog_read()
241241
~~~~~
242242

243243
## Metadata

0 commit comments

Comments
 (0)