From 8bfd2e917b26c6d753dd2a170c011adfd0932179 Mon Sep 17 00:00:00 2001 From: RogueM Date: Sun, 15 Nov 2015 19:48:28 +0000 Subject: [PATCH] some more overlays translated into FR --- src/fr/overlay/dots.md | 71 +++++++++++++++----------------- src/fr/overlay/iqaudio-pi-dac.md | 54 +++++++++++------------- src/fr/overlay/piborg-ledborg.md | 45 ++++++++++---------- src/fr/overlay/pibrella.md | 37 ++++++++--------- 4 files changed, 96 insertions(+), 111 deletions(-) diff --git a/src/fr/overlay/dots.md b/src/fr/overlay/dots.md index fcdf2ae..a92d5be 100644 --- a/src/fr/overlay/dots.md +++ b/src/fr/overlay/dots.md @@ -1,115 +1,112 @@ #Raspberry Pi Dots -###Dots is a Dot to Dot HAT board for the Raspberry Pi that lets you join-the-dots with BARE Conductive Paint! +###Dots est un project éducatif qui vous permet de créez un circuit en joignant les points représentés avec de la peinture électrique. -##AWAITING TRANSLATION -##EN COURS DE TRADUCTION +Les points du circuit sont des contacts métalliques que la peinture connectera à la masse, créant un effect de résistance de rappel. -Every Dot on the Dots board is a "floating" metal contact just waiting to be pulled down to ground with a dab of paint. +Pour lire l'état d'un contact métallique, assurez vous de déclarer la broche correspondante en tant qu'entrée et en 'pull-up', comme ceci: -To read a Dot you should set its corresponding pin as an INPUT and make sure it's pulled up like so: ```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: +Il est cependant recommandé de n'activer le 'pull-up' que lorsque nécessaire pour la requête, par l'intermédiaire d'une fonction telle que celle qui suit: ```python def is_dot_connected(dot_pin): diff --git a/src/fr/overlay/iqaudio-pi-dac.md b/src/fr/overlay/iqaudio-pi-dac.md index e84ece7..46f1146 100644 --- a/src/fr/overlay/iqaudio-pi-dac.md +++ b/src/fr/overlay/iqaudio-pi-dac.md @@ -3,51 +3,43 @@ name: "Pi-DAC+" manufacturer: IQaudIO buy: http://www.iqaudio.co.uk -description: An I2S digital to analog audio converter HAT for the Pi +description: Convertisseur numérique-analogique pour la Raspberry Pi install: 'devices': - 'i2c' pincount: 40 pin: - 3: + '3': mode: i2c - 5: + '5': mode: i2c - 12: + '12': name: I2S - 15: - name: Mute/Unmute - description: Pi-AMP+ only (optional) - 16: - name: Rotary Encoder - description: (optional) - 18: - name: Rotary Encoder - description: (optional) - 22: - name: IR Sensor - description: (optional) - 35: + '15': + name: silence + description: pour le Pi-AMP+ (option) + '16': + name: encodeur rotatif + description: (option) + '18': + name: encodeur rotatif + description: (option) + '22': + name: capteur IR + description: (option) + '35': name: I2S - 38: + '38': name: I2S - 40: + '40': name: I2S --> #IQaudIO Pi-DAC+ -##AWAITING TRANSLATION -##EN COURS DE TRADUCTION +Le Pi-DAC+ permet de convertir le signal audio numérique I2S de la Raspi en analogique, à l'aide de son CDA Texas Instrument PCM5122 et sorties phono. Il comprend aussi un pre-ampli pour sortie casque Texas Instrument TPA6133A. -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. +La broche GPIO22 peut être utilisée pour couper le volume de l'ampli optionnel Pi-AMP+ rapidement (fonction mute/silence). -The Pi Dac uses GPIO22 to mute/unmute the Pi-AMP+. +De même la broche GPIO25 peut être utilisée pour la lecture d'un capteur IR, et les broches GPIO23/24 pour celle d'un encodeur rotatif. Ces composants sont des options à souder sur la carte en elle-même. -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 reserved for the rotary encoder and IR sensor can be used for other purposes if those add-ons have not been fitted and enabled by software. +Note: Les broches réservées à ces options peuvent être utilisées pour d'autres applications du moment qu'elles n'ont pas été activées programmatiquement pour leur fonction Pi-DAC. \ No newline at end of file diff --git a/src/fr/overlay/piborg-ledborg.md b/src/fr/overlay/piborg-ledborg.md index a16cd7e..6f7b3f4 100644 --- a/src/fr/overlay/piborg-ledborg.md +++ b/src/fr/overlay/piborg-ledborg.md @@ -1,40 +1,39 @@ -###The PiBorg LedBorg is an ultra-bright RGB LED board for the Raspberry Pi. +###La carte PiBorg LedBorg ajoute une LED tricolore RGB à votre Raspberry Pi. -##AWAITING TRANSLATION -##EN COURS DE TRADUCTION +La carte LedBorg prend en charge la gestion de la LED. Cependant, si vous désirez contrôler le gamut de couleurs de manière plus précise, vous pouvez vous tourner vers WiringPi et son softPwn. -PiBorg has its own driver, so you don't need to drive it manually. +Pour ce faire, sachez que les broches WiringPi concernées sont les suivantes: -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: - -WiringPi pin 0: Red LED -WiringPi pin 2: Green LED -WiringPi pin 3: Blue LED - -This is easy using WiringPi in Python: +WiringPi broche 0: LED rouge +WiringPi broche 2: LED verte +WiringPi broche 3: LED bleue +Voici un exemple WiringPi sous Python: ```python import wiringpi2 as wiringpi @@ -44,8 +43,8 @@ wiringpi.softPwmCreate(0,0,100) wiringpi.softPwmCreate(2,0,100) wiringpi.softPwmCreate(3,0,100) -# Purple! -wiringpi.softPwmWrite(3,100) # Full Blue -wiringpi.softPwmWrite(0,100) # Full Red -wiringpi.softPWMWrite(2,0) # No Green +# Pour du violet: +wiringpi.softPwmWrite(0,100) # max rouge +wiringpi.softPwmWrite(3,100) # max bleu +wiringpi.softPWMWrite(2,0) # pas de vert ``` \ No newline at end of file diff --git a/src/fr/overlay/pibrella.md b/src/fr/overlay/pibrella.md index dca7b81..8b680d4 100644 --- a/src/fr/overlay/pibrella.md +++ b/src/fr/overlay/pibrella.md @@ -3,76 +3,73 @@ name: Pibrella manufacturer: Pimoroni Vs Cyntech url: https://github.com/pimoroni/pibrella -description: An all-in-one light, sound, input and output add-on board. +description: carte multi-usage avec son, lumière, entrées et sorties pincount: 26 pin: '7': - name: Green LED + name: LED verte direction: output active: high '11': - name: Yellow LED + name: LED jaune direction: output active: high '12': - name: Buzzer + name: buzzer piezo direction: output active: high '13': - name: Red LED + name: LED rouge direction: output active: high '15': - name: Output A + name: sortie A direction: output active: high '16': - name: Output B + name: sortie B direction: output active: high '18': - name: Output C + name: sortie C direction: output active: high '19': - name: Input D + name: sortie D direction: output active: high '21': - name: Input A + name: entrée A direction: input active: high '22': - name: Output D + name: entrée D direction: output active: high '23': - name: Button + name: bouton direction: input active: high '24': - name: Input C + name: entrée C direction: input active: high '26': - name: Input B + name: entrée B direction: input active: high --> #Pibrella -##AWAITING TRANSLATION -##EN COURS DE TRADUCTION +La Pibrella est une carte à usage multiple avec son, lumière, entrées et sorties. Elle monopolise un nombre élevé de broches GPIO tout en laissant cependant les bus série, SPI et i2c libres. -The all-in-one light, sound, input and output add-on board from Pimoroni vs Cyntech uses lots of IO on the Pi but leaves both Serial and I2C free leaving plenty of room for expansion if you get creative. - -Pibrella is easy to use, first you should install the module using LXTerminal/Command Line: +Pour l'installation et mise en route exécutez simplement les commandes ci-dessous et suivez les instructions présentées à l'écran: ```bash curl -sS get.pimoroni.com/pibrella | bash ``` -Then import it into your Python script and start tinkering: +Puis, sous Python, en guise de test que tout fonctionne bien: ```bash import pibrella