Skip to content

Commit 9fd8d5d

Browse files
committed
Minor update
1 parent 828a84d commit 9fd8d5d

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/content/docs/book/part-1-instructions/3-control-flow/0-panorama/10-0-reading-analog-signals.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ To read analog data using SplashKit's Raspberry methods, you will need the **ADS
2222

2323
<!-- ![Image showing ADS7830 ADC module](./images/ads7830-adc-module.png) -->
2424

25-
<!-- TODO: Discuss the pins on the ADS7830 module -->
25+
<!-- TODO: Discuss the pins to use on the ADS7830 module -->
2626

2727
### Analog Sensors
2828

@@ -34,5 +34,3 @@ Analog sensors produce a range of values, instead of just “on” or “off”.
3434
- **Joystick Module:** Detect changes in position, in two directions - x and y.
3535
- **Light Sensors:** Measure varying light intensities.
3636
- **Analog Temperature Sensors:** Provide a continuous range of temperature readings.
37-
38-
The next pages

src/content/docs/book/part-1-instructions/3-control-flow/0-panorama/10-1-analog-sensors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ A potentiometer has three terminals:
3030

3131
Connect the "left" outer terminal to Ground (GND), as shown with the black wire above.
3232

33-
Connect the outer terminal to the 3.3V supply, as shown with the red wire above.
33+
Connect the "right" outer terminal to the 3.3V supply, as shown with the red wire above.
3434

3535
3. **Connect the middle pin:**
3636

37-
Connect the middle terminal to the **A0** ADC channel on the ADS7830 module so that the variable voltage can be read by your Raspberry Pi.
37+
Connect the middle terminal to the **A0** analog channel on the ADS7830 module so that the variable voltage can be read by your Raspberry Pi.
3838

3939
### Reading the Potentiometer
4040

0 commit comments

Comments
 (0)