Skip to content

Commit 4767232

Browse files
authored
fix wrong pinout in table for IR sensor
1 parent ca82c0f commit 4767232

File tree

1 file changed

+3
-2
lines changed
  • docs/_sections/_guide-primaries/sensors-and-actuators

1 file changed

+3
-2
lines changed

docs/_sections/_guide-primaries/sensors-and-actuators/ir-sensors.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ There are 3 pins (red, black, white) to the device as seen in the picture, assoc
2929

3030
| IR Sensor Pin | ESP32 Pin |
3131
|:-------------|:------------------|
32-
| VIN (cable adapter BLACK) | 5V |
33-
| GND (cable adapter RED) | GND |
32+
| VIN | 5V |
33+
| GND | GND |
3434
| Signal | Any ADC Capable Pin |
3535

3636
If you're not sure about the ESP32 pinout, then check out the diagram in [this page!](https://ut-ras.github.io/RobotathonESP32/getting-started/microcontroller-interface)
@@ -57,3 +57,4 @@ void loop() {
5757
}
5858
```
5959
60+

0 commit comments

Comments
 (0)