From f1f42fb63890532b3642bad1c48f54f67e498a3b Mon Sep 17 00:00:00 2001 From: RogueM Date: Sun, 15 Nov 2015 16:56:26 +0000 Subject: [PATCH] typos + test push to repo --- src/en/overlay/dots.md | 5 ++--- src/en/overlay/iqaudio-pi-dac.md | 2 +- src/en/overlay/piborg-ledborg.md | 6 ++++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/en/overlay/dots.md b/src/en/overlay/dots.md index e577c39..09d52e2 100644 --- a/src/en/overlay/dots.md +++ b/src/en/overlay/dots.md @@ -100,13 +100,12 @@ To read a Dot you should set its corresponding pin as an INPUT and make sure it' ```python import RPi.GPIO as GPIO -GPIO.setmode(GPIO.BCM ) +GPIO.setmode(GPIO.BCM) GPIO.setup(dot_pin, GPIO.IN, GPIO.PUD_UP) state = GPIO.input(dot_pin) ``` -It's good practise to only turn on the PULLUP when you actually want to read the Dot, so a method like -this is recommended for reading: +It's good practice to only turn on the PULLUP when you actually want to read the Dot, so a method like this is recommended for reading: ```python def is_dot_connected(dot_pin): diff --git a/src/en/overlay/iqaudio-pi-dac.md b/src/en/overlay/iqaudio-pi-dac.md index cbb83a0..85b7c8a 100644 --- a/src/en/overlay/iqaudio-pi-dac.md +++ b/src/en/overlay/iqaudio-pi-dac.md @@ -42,7 +42,7 @@ control) analog audio to the Pi-DAC+ Phono connectors. The PI-DAC+ also, via the Texas Instruments TPA6133A headphone amp, supports the direct use of headphones via the Pi-DAC+ 3.5mm audio jack. -The Pi Dac uses GPIO22 to mute/unmute the Pi-AMP+. +The Pi-DAC+ uses GPIO22 to mute/unmute the Pi-AMP+. You can use GPIO25 to connect an IR sensor and GPIO23/24 for a rotary encoder. Both of these parts are optional, but are broken out on the Pi-DAC+ for convenient access. diff --git a/src/en/overlay/piborg-ledborg.md b/src/en/overlay/piborg-ledborg.md index 1020280..c7dbccf 100644 --- a/src/en/overlay/piborg-ledborg.md +++ b/src/en/overlay/piborg-ledborg.md @@ -1,8 +1,11 @@ ###The PiBorg LedBorg is an ultra-bright RGB LED board for the Raspberry Pi. -PiBorg has its own driver, so you don't need to drive it manually. +the PiBorg Ledborg has its own driver, so you don't need to drive it manually. If you want a much, much wider range of colours, though, you can drive it manually using softPwm in WiringPi. The pin assignments for this are as follows: @@ -32,7 +35,6 @@ WiringPi pin 3: Blue LED This is easy using WiringPi in Python: - ```python import wiringpi2 as wiringpi wiringpi.wiringPiSetup()