From c6e4f0e2ba09edff741944614e87e190240e7677 Mon Sep 17 00:00:00 2001 From: RogueM Date: Fri, 6 Nov 2015 17:42:12 +0000 Subject: [PATCH 1/3] corrections and cleaning up --- src/en-GB/overlay/iqaudio-pi-dac.md | 40 +++++++++++++++-------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/src/en-GB/overlay/iqaudio-pi-dac.md b/src/en-GB/overlay/iqaudio-pi-dac.md index 2702e14..a325745 100644 --- a/src/en-GB/overlay/iqaudio-pi-dac.md +++ b/src/en-GB/overlay/iqaudio-pi-dac.md @@ -1,33 +1,33 @@ @@ -35,11 +35,13 @@ pin: The Pi-DAC+ takes the digital audio signals (I2S) from the Raspberry Pi and through the onboard Texas Instruments PCM5122 DAC delivers variable output (hardware volume -control) analog audio to the Pi-DAC+’s Phono connectors. The PI-DAC+ also, via the +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+’s 3.5mm audio jack. +the Pi-DAC+ 3.5mm audio jack. 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 convinient access. +these parts are optional, but are broken out on the Pi-DAC+ for convenient access. + +Note: pins marked as optional can be used for general purpose if those add-ons are not enabled by software. From 81a8b17f8bc2a42c524880267f41978b10525245 Mon Sep 17 00:00:00 2001 From: RogueM Date: Fri, 6 Nov 2015 18:22:15 +0000 Subject: [PATCH 2/3] syncing EN md to FR placeholders --- src/fr-FR/overlay/display-o-tron.md | 13 +++++++++++++ src/fr-FR/overlay/explorer-hat-pro.md | 11 ++++++++++- src/fr-FR/overlay/explorer-hat.md | 15 ++++++++++++++- src/fr-FR/overlay/skywriter-hat.md | 11 ++++++++++- src/fr-FR/overlay/unicorn-hat.md | 11 ++++++++++- src/fr-FR/settings.yaml | 17 ++++++++++++----- src/fr-FR/template/layout.html | 1 + 7 files changed, 70 insertions(+), 9 deletions(-) diff --git a/src/fr-FR/overlay/display-o-tron.md b/src/fr-FR/overlay/display-o-tron.md index 236f958..b0fbac9 100644 --- a/src/fr-FR/overlay/display-o-tron.md +++ b/src/fr-FR/overlay/display-o-tron.md @@ -2,8 +2,21 @@ --- name: Display-o-Tron 3000 manufacturer: Pimoroni +github: https://github.com/pimoroni/dot3k url: https://github.com/pimoroni/dot3k description: A 3-line character LCD with an RGB backlight and joystick +install: + 'devices': + - 'i2c' + - 'spi' + 'apt': + - 'python-smbus' + - 'python3-smbus' + - 'python-dev' + - 'python3-dev' + 'python': + - 'dot3k' + 'examples': 'python/examples/' pincount: 40 pin: 3: diff --git a/src/fr-FR/overlay/explorer-hat-pro.md b/src/fr-FR/overlay/explorer-hat-pro.md index 78cca3d..b233bce 100644 --- a/src/fr-FR/overlay/explorer-hat-pro.md +++ b/src/fr-FR/overlay/explorer-hat-pro.md @@ -6,6 +6,15 @@ url: https://github.com/pimoroni/explorer-hat github: https://github.com/pimoroni/explorer-hat buy: http://shop.pimoroni.com/products/explorer-hat description: An all-in-one light, input, motor, touch and output add-on board. +install: + 'apt': + - 'python-smbus' + - 'python3-smbus' + - 'python-dev' + - 'python3-dev' + 'python': + - 'explorerhat' + 'examples': 'examples/' pincount: 40 i2c: '0x28': @@ -103,4 +112,4 @@ Then import it into your Python script and start tinkering: ```bash import explorerhat explorerhat.light.on() -``` \ No newline at end of file +``` diff --git a/src/fr-FR/overlay/explorer-hat.md b/src/fr-FR/overlay/explorer-hat.md index 60a09a1..5669293 100644 --- a/src/fr-FR/overlay/explorer-hat.md +++ b/src/fr-FR/overlay/explorer-hat.md @@ -6,6 +6,19 @@ url: https://github.com/pimoroni/explorer-hat github: https://github.com/pimoroni/explorer-hat buy: http://shop.pimoroni.com/products/explorer-hat description: An all-in-one light, input, touch and output add-on board. +install: + 'devices': + - 'i2c' + 'apt': + - 'python-smbus' + - 'python3-smbus' + - 'python-dev' + - 'python3-dev' + 'python': + - 'explorerhat' + 'python3': + - 'explorerhat' + 'examples': 'examples/' pincount: 40 pin: '7': @@ -71,4 +84,4 @@ Then import it into your Python script and start tinkering: ```bash import explorerhat explorerhat.light.on() -``` \ No newline at end of file +``` diff --git a/src/fr-FR/overlay/skywriter-hat.md b/src/fr-FR/overlay/skywriter-hat.md index 231ccea..f6f3e7d 100644 --- a/src/fr-FR/overlay/skywriter-hat.md +++ b/src/fr-FR/overlay/skywriter-hat.md @@ -6,6 +6,15 @@ url: https://github.com/pimoroni/skywriter-hat github: https://github.com/pimoroni/skywriter-hat buy: http://shop.pimoroni.com/products/skywriter-hat description: A 3D positional and gesture sensor. +install: + 'apt': + - 'python-smbus' + - 'python3-smbus' + - 'python-dev' + - 'python3-dev' + 'python': + - 'skywriter' + 'examples': 'python/examples/' pincount: 40 pin: '3': @@ -22,4 +31,4 @@ pin: Skywriter HAT senses your finger's position above it in 3 dimensions, outputting an X, Y, Z axis which you can use in your Python scripts. -It also recognises gestures, including swipes and more. \ No newline at end of file +It also recognises gestures, including swipes and more. diff --git a/src/fr-FR/overlay/unicorn-hat.md b/src/fr-FR/overlay/unicorn-hat.md index 1fd7d94..c3c4013 100644 --- a/src/fr-FR/overlay/unicorn-hat.md +++ b/src/fr-FR/overlay/unicorn-hat.md @@ -6,6 +6,15 @@ url: http://shop.pimoroni.com/products/unicorn-hat buy: http://shop.pimoroni.com/products/unicorn-hat description: 64 blindingly bright RGB LEDs on a single HAT github: https://github.com/pimoroni/unicornhat +install: + 'apt': + - 'python-dev' + - 'python3-dev' + 'python': + - 'unicornhat' + 'python3': + - 'unicornhat' + 'examples': 'python/examples/' pincount: 40 pin: '12': @@ -35,4 +44,4 @@ Then import it into your Python script and start tinkering: import unicornhat unicornhat.set_pixel(0, 0, 255, 255, 255) unicornhat.show() -``` \ No newline at end of file +``` diff --git a/src/fr-FR/settings.yaml b/src/fr-FR/settings.yaml index de25be1..53a454d 100644 --- a/src/fr-FR/settings.yaml +++ b/src/fr-FR/settings.yaml @@ -1,11 +1,15 @@ --- -default_desc: Pinout le guide complet des broches GPIO de la Raspberry Pi -default_title: Raspberry Pi GPIO pour Pi 1, B+, Pi 2 -title_suffix: " Raspberry Pi GPIO Pinout" +default_desc: The comprehensive Raspberry Pi GPIO Pinout guide for the original Raspberry + Pi, B+ and Pi 2 +default_title: Raspberry Pi GPIO Pinout - Pi 1, B+, Pi 2 +title_suffix: " at Raspberry Pi GPIO Pinout" +base_url: /pinout/ +resource_url: /resources/ +url_suffix: urls: - GND: masse + GND: ground overlays: -- masse +- ground - spi - uart - i2c @@ -20,5 +24,8 @@ overlays: - explorer-hat-pro - explorer-hat - display-o-tron +- display-o-tron-hat - dots - traffic-hat +- iqaudio-pi-dac +- piano-hat diff --git a/src/fr-FR/template/layout.html b/src/fr-FR/template/layout.html index 9035462..6c07810 100644 --- a/src/fr-FR/template/layout.html +++ b/src/fr-FR/template/layout.html @@ -24,6 +24,7 @@
From dc57cf5a1870404a0e224de0ccfa814cb936c6cb Mon Sep 17 00:00:00 2001 From: RogueM Date: Fri, 6 Nov 2015 18:23:25 +0000 Subject: [PATCH 3/3] syncing EN md to FR placeholders --- src/fr-FR/overlay/display-o-tron-hat.md | 44 +++++++++++++++++++++++ src/fr-FR/overlay/iqaudio-pi-dac.md | 47 +++++++++++++++++++++++++ src/fr-FR/overlay/piano-hat.md | 47 +++++++++++++++++++++++++ 3 files changed, 138 insertions(+) create mode 100644 src/fr-FR/overlay/display-o-tron-hat.md create mode 100644 src/fr-FR/overlay/iqaudio-pi-dac.md create mode 100644 src/fr-FR/overlay/piano-hat.md diff --git a/src/fr-FR/overlay/display-o-tron-hat.md b/src/fr-FR/overlay/display-o-tron-hat.md new file mode 100644 index 0000000..c875db2 --- /dev/null +++ b/src/fr-FR/overlay/display-o-tron-hat.md @@ -0,0 +1,44 @@ + +#Display-o-Tron HAT + +Display-o-Tron HAT uses both SPI and I2c to drive the LCD display, backlight and touch. +However both of these busses can be shared with other devices. + +You can use the one-line product installer to get Display-o-Tron HAT set up and ready to go, just: + +```bash +curl get.pimoroni.com/dot3k | bash +``` + +And follow the instructions! diff --git a/src/fr-FR/overlay/iqaudio-pi-dac.md b/src/fr-FR/overlay/iqaudio-pi-dac.md new file mode 100644 index 0000000..a325745 --- /dev/null +++ b/src/fr-FR/overlay/iqaudio-pi-dac.md @@ -0,0 +1,47 @@ + +#IQaudIO Pi-DAC+ + +The Pi-DAC+ takes the digital audio signals (I2S) from the Raspberry Pi and through the +onboard Texas Instruments PCM5122 DAC delivers variable output (hardware volume +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+. + +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. + +Note: pins marked as optional can be used for general purpose if those add-ons are not enabled by software. diff --git a/src/fr-FR/overlay/piano-hat.md b/src/fr-FR/overlay/piano-hat.md new file mode 100644 index 0000000..2e274a8 --- /dev/null +++ b/src/fr-FR/overlay/piano-hat.md @@ -0,0 +1,47 @@ + +#Piano HAT + +Piano HAT has 16 touch-sensitive buttons. 13 of these are a single Piano octave, the rest give you octave up/down and instrument select functionality. + +It uses two Microchip CAP1188 chips with the i2c addresses 0x28 and 0x2b. + +You can use the one-line product installer to get Piano HAT set up and ready to go, just: + +```bash +curl get.pimoroni.com/pianohat | bash +``` + +And follow the instructions!