Skip to content

Commit c7e9c34

Browse files
committed
It's the digital pins which cannot be used
1 parent 749ccdd commit c7e9c34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/api/arduino.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ The [Arduino](https://store.arduino.cc/arduino-uno-rev3) provides a
66
total of 18 pins for either digital input or output (labelled 2 to 13
77
and A0 to A5), including 6 for analogue input (labelled A0 to A5).
88

9+
!!! warning
10+
Digital pins 0 and 1 are reserved and cannot be used.
11+
912
## Accessing the Arduino
1013

1114
The Arduino can be accessed using the `arduino` property of the `Robot`
@@ -103,9 +106,6 @@ pin_value = r.arduino.pins[AnaloguePin.A0].analogue_value
103106
!!! tip
104107
The values are the voltages read on the pins, between 0 and 5.
105108

106-
!!! warning
107-
Pins `A4` and `A5` are reserved and cannot be used.
108-
109109
## Ultrasound Sensors
110110

111111
You can also measure distance using an ultrasound sensor from the arduino.

0 commit comments

Comments
 (0)