Merge pull request #56 from RogueM/translation
some more overlays translated into FR
This commit is contained in:
commit
34460019d7
@ -1,5 +0,0 @@
|
|||||||
#WIP French translation
|
|
||||||
|
|
||||||
This is a work in progress, many files are not yet translated!
|
|
||||||
|
|
||||||
Ce dossier est en cours de traduction!
|
|
@ -1,105 +1,103 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
name: Raspberry Pi Dots
|
name: Raspberry Pi Dots
|
||||||
description: Join the dots to make a circuit
|
description: créez un circuit avec de la peinture électrique
|
||||||
url: http://www.raspberrypi.org/dots/
|
url: http://www.raspberrypi.org/dots/
|
||||||
github: https://github.com/raspberrypilearning/dots
|
github: https://github.com/raspberrypilearning/dots
|
||||||
pin:
|
pin:
|
||||||
bcm0:
|
bcm0:
|
||||||
name: 'Color: Blue'
|
name: 'couleur: bleue'
|
||||||
direction: input
|
direction: input
|
||||||
bcm1:
|
bcm1:
|
||||||
name: Dot 7
|
name: point 7
|
||||||
direction: input
|
direction: input
|
||||||
bcm2:
|
bcm2:
|
||||||
name: Dot 22
|
name: point 22
|
||||||
direction: input
|
direction: input
|
||||||
bcm3:
|
bcm3:
|
||||||
name: Dot 21
|
name: point 21
|
||||||
direction: input
|
direction: input
|
||||||
bcm4:
|
bcm4:
|
||||||
name: Dot 2
|
name: point 2
|
||||||
direction: input
|
direction: input
|
||||||
bcm5:
|
bcm5:
|
||||||
name: Dot 9
|
name: point 9
|
||||||
direction: input
|
direction: input
|
||||||
bcm6:
|
bcm6:
|
||||||
name: Dot 14
|
name: point 14
|
||||||
direction: input
|
direction: input
|
||||||
bcm7:
|
bcm7:
|
||||||
name: Dot 6
|
name: point 6
|
||||||
direction: input
|
direction: input
|
||||||
bcm8:
|
bcm8:
|
||||||
name: Dot 18
|
name: point 18
|
||||||
direction: input
|
direction: input
|
||||||
bcm9:
|
bcm9:
|
||||||
name: Dot 17
|
name: point 17
|
||||||
direction: input
|
direction: input
|
||||||
bcm10:
|
bcm10:
|
||||||
name: 'Color: Green'
|
name: 'couleur: vert'
|
||||||
direction: input
|
direction: input
|
||||||
bcm11:
|
bcm11:
|
||||||
name: Dot 8
|
name: point 8
|
||||||
direction: input
|
direction: input
|
||||||
bcm12:
|
bcm12:
|
||||||
name: Dot 10
|
name: point 10
|
||||||
direction: input
|
direction: input
|
||||||
bcm13:
|
bcm13:
|
||||||
name: Cloud
|
name: 'forme: nuage'
|
||||||
direction: input
|
direction: input
|
||||||
bcm14:
|
bcm14:
|
||||||
name: Dot 1
|
name: point 1
|
||||||
direction: input
|
direction: input
|
||||||
bcm15:
|
bcm15:
|
||||||
name: Dot 3
|
name: point 3
|
||||||
direction: input
|
direction: input
|
||||||
bcm16:
|
bcm16:
|
||||||
name: Dot 13
|
name: point 13
|
||||||
direction: input
|
direction: input
|
||||||
bcm17:
|
bcm17:
|
||||||
name: Dot 4
|
name: point 4
|
||||||
direction: input
|
direction: input
|
||||||
bcm18:
|
bcm18:
|
||||||
name: Dot 20
|
name: point 20
|
||||||
direction: input
|
direction: input
|
||||||
bcm19:
|
bcm19:
|
||||||
name: 'Color: Orange'
|
name: 'couleur: orange'
|
||||||
direction: input
|
direction: input
|
||||||
bcm20:
|
bcm20:
|
||||||
name: Bear
|
name: 'forme: ours'
|
||||||
direction: input
|
direction: input
|
||||||
bcm21:
|
bcm21:
|
||||||
name: Dot 12
|
name: point 12
|
||||||
direction: input
|
direction: input
|
||||||
bcm22:
|
bcm22:
|
||||||
name: Dot 15
|
name: point 15
|
||||||
direction: input
|
direction: input
|
||||||
bcm23:
|
bcm23:
|
||||||
name: Dot 16
|
name: point 16
|
||||||
direction: input
|
direction: input
|
||||||
bcm24:
|
bcm24:
|
||||||
name: Dot 19
|
name: point 19
|
||||||
direction: input
|
direction: input
|
||||||
bcm25:
|
bcm25:
|
||||||
name: Dot 5
|
name: point 5
|
||||||
direction: input
|
direction: input
|
||||||
bcm26:
|
bcm26:
|
||||||
name: Dot 11
|
name: point 11
|
||||||
direction: input
|
direction: input
|
||||||
bcm27:
|
bcm27:
|
||||||
name: 'Color: Red'
|
name: 'couleur: rouge'
|
||||||
direction: input
|
direction: input
|
||||||
-->
|
-->
|
||||||
#Raspberry Pi Dots
|
#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
|
Les points du circuit sont des contacts métalliques que la peinture connectera à la masse, créant un effect de résistance de rappel.
|
||||||
##EN COURS DE TRADUCTION
|
|
||||||
|
|
||||||
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
|
```python
|
||||||
import RPi.GPIO as GPIO
|
import RPi.GPIO as GPIO
|
||||||
@ -108,8 +106,7 @@ GPIO.setup(dot_pin, GPIO.IN, GPIO.PUD_UP)
|
|||||||
state = GPIO.input(dot_pin)
|
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
|
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:
|
||||||
this is recommended for reading:
|
|
||||||
|
|
||||||
```python
|
```python
|
||||||
def is_dot_connected(dot_pin):
|
def is_dot_connected(dot_pin):
|
||||||
|
@ -3,51 +3,43 @@
|
|||||||
name: "Pi-DAC+"
|
name: "Pi-DAC+"
|
||||||
manufacturer: IQaudIO
|
manufacturer: IQaudIO
|
||||||
buy: http://www.iqaudio.co.uk
|
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:
|
install:
|
||||||
'devices':
|
'devices':
|
||||||
- 'i2c'
|
- 'i2c'
|
||||||
pincount: 40
|
pincount: 40
|
||||||
pin:
|
pin:
|
||||||
3:
|
'3':
|
||||||
mode: i2c
|
mode: i2c
|
||||||
5:
|
'5':
|
||||||
mode: i2c
|
mode: i2c
|
||||||
12:
|
'12':
|
||||||
name: I2S
|
name: I2S
|
||||||
15:
|
'15':
|
||||||
name: Mute/Unmute
|
name: silence
|
||||||
description: Pi-AMP+ only (optional)
|
description: pour le Pi-AMP+ (option)
|
||||||
16:
|
'16':
|
||||||
name: Rotary Encoder
|
name: encodeur rotatif
|
||||||
description: (optional)
|
description: (option)
|
||||||
18:
|
'18':
|
||||||
name: Rotary Encoder
|
name: encodeur rotatif
|
||||||
description: (optional)
|
description: (option)
|
||||||
22:
|
'22':
|
||||||
name: IR Sensor
|
name: capteur IR
|
||||||
description: (optional)
|
description: (option)
|
||||||
35:
|
'35':
|
||||||
name: I2S
|
name: I2S
|
||||||
38:
|
'38':
|
||||||
name: I2S
|
name: I2S
|
||||||
40:
|
'40':
|
||||||
name: I2S
|
name: I2S
|
||||||
-->
|
-->
|
||||||
#IQaudIO Pi-DAC+
|
#IQaudIO Pi-DAC+
|
||||||
|
|
||||||
##AWAITING TRANSLATION
|
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.
|
||||||
##EN COURS DE TRADUCTION
|
|
||||||
|
|
||||||
The Pi-DAC+ takes the digital audio signals (I2S) from the Raspberry Pi and through the
|
La broche GPIO22 peut être utilisée pour couper le volume de l'ampli optionnel Pi-AMP+ rapidement (fonction mute/silence).
|
||||||
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+.
|
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
|
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.
|
||||||
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.
|
|
@ -1,40 +1,39 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
name: PiBorg LEDBorg
|
name: PiBorg LedBorg
|
||||||
description: A single RGB LED for your Raspberry Pi
|
manufacturer: PiBorg
|
||||||
|
description: une carte LED RGB pour la Raspberry Pi
|
||||||
|
url: https://www.piborg.org/ledborg-new/install
|
||||||
buy: https://www.piborg.org/ledborg
|
buy: https://www.piborg.org/ledborg
|
||||||
|
pincount: 26
|
||||||
pin:
|
pin:
|
||||||
'11':
|
'11':
|
||||||
name: Red LED
|
name: LED rouge
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
description: PiBorg Red LED
|
description: LED rouge de la PiBorg
|
||||||
'13':
|
'13':
|
||||||
name: Green LED
|
name: LED verte
|
||||||
direction: input
|
direction: input
|
||||||
active: high
|
active: high
|
||||||
description: PiBorg Green LED
|
description: LED verte de la PiBorg
|
||||||
'15':
|
'15':
|
||||||
name: Blue LED
|
name: LED bleue
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
description: PiBorg Blue LED
|
description: LED bleue de la PiBorg
|
||||||
-->
|
-->
|
||||||
###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
|
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.
|
||||||
##EN COURS DE TRADUCTION
|
|
||||||
|
|
||||||
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 broche 0: LED rouge
|
||||||
|
WiringPi broche 2: LED verte
|
||||||
WiringPi pin 0: Red LED
|
WiringPi broche 3: LED bleue
|
||||||
WiringPi pin 2: Green LED
|
|
||||||
WiringPi pin 3: Blue LED
|
|
||||||
|
|
||||||
This is easy using WiringPi in Python:
|
|
||||||
|
|
||||||
|
Voici un exemple WiringPi sous Python:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
import wiringpi2 as wiringpi
|
import wiringpi2 as wiringpi
|
||||||
@ -44,8 +43,8 @@ wiringpi.softPwmCreate(0,0,100)
|
|||||||
wiringpi.softPwmCreate(2,0,100)
|
wiringpi.softPwmCreate(2,0,100)
|
||||||
wiringpi.softPwmCreate(3,0,100)
|
wiringpi.softPwmCreate(3,0,100)
|
||||||
|
|
||||||
# Purple!
|
# Pour du violet:
|
||||||
wiringpi.softPwmWrite(3,100) # Full Blue
|
wiringpi.softPwmWrite(0,100) # max rouge
|
||||||
wiringpi.softPwmWrite(0,100) # Full Red
|
wiringpi.softPwmWrite(3,100) # max bleu
|
||||||
wiringpi.softPWMWrite(2,0) # No Green
|
wiringpi.softPWMWrite(2,0) # pas de vert
|
||||||
```
|
```
|
@ -3,76 +3,73 @@
|
|||||||
name: Pibrella
|
name: Pibrella
|
||||||
manufacturer: Pimoroni Vs Cyntech
|
manufacturer: Pimoroni Vs Cyntech
|
||||||
url: https://github.com/pimoroni/pibrella
|
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
|
pincount: 26
|
||||||
pin:
|
pin:
|
||||||
'7':
|
'7':
|
||||||
name: Green LED
|
name: LED verte
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
'11':
|
'11':
|
||||||
name: Yellow LED
|
name: LED jaune
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
'12':
|
'12':
|
||||||
name: Buzzer
|
name: buzzer piezo
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
'13':
|
'13':
|
||||||
name: Red LED
|
name: LED rouge
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
'15':
|
'15':
|
||||||
name: Output A
|
name: sortie A
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
'16':
|
'16':
|
||||||
name: Output B
|
name: sortie B
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
'18':
|
'18':
|
||||||
name: Output C
|
name: sortie C
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
'19':
|
'19':
|
||||||
name: Input D
|
name: sortie D
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
'21':
|
'21':
|
||||||
name: Input A
|
name: entrée A
|
||||||
direction: input
|
direction: input
|
||||||
active: high
|
active: high
|
||||||
'22':
|
'22':
|
||||||
name: Output D
|
name: entrée D
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
'23':
|
'23':
|
||||||
name: Button
|
name: bouton
|
||||||
direction: input
|
direction: input
|
||||||
active: high
|
active: high
|
||||||
'24':
|
'24':
|
||||||
name: Input C
|
name: entrée C
|
||||||
direction: input
|
direction: input
|
||||||
active: high
|
active: high
|
||||||
'26':
|
'26':
|
||||||
name: Input B
|
name: entrée B
|
||||||
direction: input
|
direction: input
|
||||||
active: high
|
active: high
|
||||||
-->
|
-->
|
||||||
#Pibrella
|
#Pibrella
|
||||||
|
|
||||||
##AWAITING TRANSLATION
|
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.
|
||||||
##EN COURS DE TRADUCTION
|
|
||||||
|
|
||||||
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.
|
Pour l'installation et mise en route exécutez simplement les commandes ci-dessous et suivez les instructions présentées à l'écran:
|
||||||
|
|
||||||
Pibrella is easy to use, first you should install the module using LXTerminal/Command Line:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -sS get.pimoroni.com/pibrella | 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
|
```bash
|
||||||
import pibrella
|
import pibrella
|
||||||
|
@ -5,16 +5,22 @@ manufacturer: Pimoroni
|
|||||||
url: https://github.com/pimoroni/piglow
|
url: https://github.com/pimoroni/piglow
|
||||||
github: https://github.com/pimoroni/piglow
|
github: https://github.com/pimoroni/piglow
|
||||||
buy: http://shop.pimoroni.com/products/piglow
|
buy: http://shop.pimoroni.com/products/piglow
|
||||||
description: Simply 18 LEDs in a spiral pattern controllable in Python.
|
description: une spirale de LED contrôlable depuis Python.
|
||||||
pincount: 26
|
pincount: 26
|
||||||
pin:
|
pin:
|
||||||
'1': {}
|
|
||||||
'2': {}
|
|
||||||
'3':
|
'3':
|
||||||
mode: i2c
|
mode: i2c
|
||||||
'5':
|
'5':
|
||||||
mode: i2c
|
mode: i2c
|
||||||
'14': {}
|
|
||||||
'17': {}
|
|
||||||
-->
|
-->
|
||||||
#PiGlow
|
#PiGlow
|
||||||
|
|
||||||
|
La Piglow est une carte petit format pour la Raspberry Pi composée de 18 LEDs contrôlables individuellement.
|
||||||
|
|
||||||
|
Le circuit intégré responsable de la gestion des LEDs est le SN3218, un microchip PWM 8-bit à 18 canaux. Il communique avec la Raspi par le bus I2C, à l'adresse 0x54 plus précisément. Les LEDs peuvent se voir attribuer une valeur comprise entre 0 et 255.
|
||||||
|
|
||||||
|
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/piglow | bash
|
||||||
|
```
|
||||||
|
@ -1,60 +1,48 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
name: Ryanteck Motor Controller Board
|
name: Contrôleur moteur Ryanteck
|
||||||
manufacturer: Ryanteck
|
manufacturer: Ryanteck
|
||||||
url: https://ryanteck.uk/add-ons/6-ryanteck-rpi-motor-controller-board-0635648607160.html
|
url: https://ryanteck.uk/add-ons/6-ryanteck-rpi-motor-controller-board-0635648607160.html
|
||||||
buy: https://ryanteck.uk/add-ons/6-ryanteck-rpi-motor-controller-board-0635648607160.html
|
buy: https://ryanteck.uk/add-ons/6-ryanteck-rpi-motor-controller-board-0635648607160.html
|
||||||
pincount: 26
|
pincount: 26
|
||||||
pin:
|
pin:
|
||||||
'11':
|
'11':
|
||||||
name: Motor 1 A
|
name: moteur 1 A
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
'12':
|
'12':
|
||||||
name: Motor 1 B
|
name: moteur 1 B
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
'15':
|
'15':
|
||||||
name: Motor 2 A
|
name: moteur 2 A
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
'16':
|
'16':
|
||||||
name: Motor 2 B
|
name: moteur 2 B
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
-->
|
-->
|
||||||
#Ryanteck Motor Controller Board
|
#Contrôleur moteur Ryanteck RTK-000-001
|
||||||
|
|
||||||
###A quick and easy way to start driving motors on your Raspberry Pi
|
###Contrôler un moteur connecté au RTK-000-001 depuis votre Raspberry Pi est aisé:
|
||||||
|
|
||||||
##AWAITING TRANSLATION
|
|
||||||
##EN COURS DE TRADUCTION
|
|
||||||
|
|
||||||
```python
|
```python
|
||||||
##Simple motor script for the RTK-000-001
|
|
||||||
import RPi.GPIO as GPIO
|
import RPi.GPIO as GPIO
|
||||||
import time
|
import time
|
||||||
#Set to broadcom pin numbers
|
|
||||||
GPIO.setmode(GPIO.BCM)
|
|
||||||
|
|
||||||
#Motor 1 = Pins 17 and 18
|
GPIO.setmode(GPIO.BCM)
|
||||||
#Motor 2 = Pins 22 and 23
|
|
||||||
GPIO.setup(17, GPIO.OUT)
|
GPIO.setup(17, GPIO.OUT)
|
||||||
GPIO.setup(18, GPIO.OUT)
|
GPIO.setup(18, GPIO.OUT)
|
||||||
|
|
||||||
#Now loop forever turning one direction for 5 seconds, then the other
|
|
||||||
while (True):
|
while (True):
|
||||||
#Sleep 1 second then turn 17 on
|
|
||||||
GPIO.output(18, 0)
|
GPIO.output(18, 0)
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
GPIO.output(17, 1);
|
GPIO.output(17, 1);
|
||||||
time.sleep(5);
|
time.sleep(5);
|
||||||
#And now the other way round
|
|
||||||
GPIO.output(17, 0)
|
GPIO.output(17, 0)
|
||||||
time.sleep(1);
|
time.sleep(1);
|
||||||
GPIO.output(18, 1);
|
GPIO.output(18, 1);
|
||||||
time.sleep(5);
|
time.sleep(5);
|
||||||
#And loop back around
|
|
||||||
#And final cleanup
|
|
||||||
GPIO.cleanup()
|
GPIO.cleanup()
|
||||||
```
|
```
|
@ -5,7 +5,7 @@ manufacturer: Pimoroni
|
|||||||
url: https://github.com/pimoroni/skywriter-hat
|
url: https://github.com/pimoroni/skywriter-hat
|
||||||
github: https://github.com/pimoroni/skywriter-hat
|
github: https://github.com/pimoroni/skywriter-hat
|
||||||
buy: http://shop.pimoroni.com/products/skywriter-hat
|
buy: http://shop.pimoroni.com/products/skywriter-hat
|
||||||
description: A 3D positional and gesture sensor.
|
description: un capteur de mouvements 3D
|
||||||
install:
|
install:
|
||||||
'apt':
|
'apt':
|
||||||
- 'python-smbus'
|
- 'python-smbus'
|
||||||
@ -22,24 +22,18 @@ pin:
|
|||||||
'5':
|
'5':
|
||||||
mode: i2c
|
mode: i2c
|
||||||
'11':
|
'11':
|
||||||
name: Reset
|
name: reset
|
||||||
'13':
|
'13':
|
||||||
name: Transfer
|
name: transfer
|
||||||
-->
|
-->
|
||||||
#Skywriter HAT
|
#Skywriter HAT
|
||||||
|
|
||||||
##AWAITING TRANSLATION
|
Le Skywriter est capable de détecter la position de vos doigts dans l'espace défini en 3 dimensions au dessus de son capteur. Il transfère les coordonnées X, Y et Z à votre Raspi, qui sont dès lors disponibles pour effectuer l'opération désirée au sein de votre script.
|
||||||
##EN COURS DE TRADUCTION
|
|
||||||
|
|
||||||
Skywriter HAT senses your finger's position above it in 3 dimensions, outputting an X, Y, Z axis
|
En analysant ces données dans le temps il est aussi possible de reconnaître toutes sortes de gestes et de les traiter de manière appropriée.
|
||||||
which you can use in your Python scripts.
|
|
||||||
|
|
||||||
It also recognises gestures, including swipes and more.
|
Pour l'installation et mise en route exécutez simplement les commandes ci-dessous et suivez les instructions présentées à l'écran:
|
||||||
|
|
||||||
To get the HAT set up and ready to go you can use the one-line product installer:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -sS get.pimoroni.com/skywriter | bash
|
curl -sS get.pimoroni.com/skywriter | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
And follow the instructions!
|
|
||||||
|
@ -4,52 +4,48 @@ name: Traffic HAT
|
|||||||
manufacturer: Ryanteck LTD.
|
manufacturer: Ryanteck LTD.
|
||||||
url: http://www.ryanteck.uk/store/traffichat
|
url: http://www.ryanteck.uk/store/traffichat
|
||||||
buy: http://www.ryanteck.uk/store/traffichat
|
buy: http://www.ryanteck.uk/store/traffichat
|
||||||
description: A quick and easy way to learn the basics of GPIO on a budget. All in
|
description: carte multi-usage avec buzzer, LED et bouton
|
||||||
a nice HAT.
|
|
||||||
pincount: 40
|
pincount: 40
|
||||||
pin:
|
pin:
|
||||||
'15':
|
'15':
|
||||||
name: LED1 / Green
|
name: LED1 / vert
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
'16':
|
'16':
|
||||||
name: LED2 / Amber
|
name: LED2 / orange
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
'18':
|
'18':
|
||||||
name: LED3 / Red
|
name: LED3 / rouge
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
'22':
|
'22':
|
||||||
name: Button
|
name: bouton
|
||||||
direction: input
|
direction: input
|
||||||
active: high
|
active: high
|
||||||
'29':
|
'29':
|
||||||
name: Buzzer
|
name: buzzer
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
-->
|
-->
|
||||||
#Traffic HAT
|
#Traffic HAT
|
||||||
|
|
||||||
###A quick and easy way to learn the basics of GPIO on a budget. All in a nice HAT.
|
###Contrôler les broches GPIO du Traffic HAT depuis votre Raspberry Pi est aisé:
|
||||||
|
|
||||||
##AWAITING TRANSLATION
|
|
||||||
##EN COURS DE TRADUCTION
|
|
||||||
|
|
||||||
```python
|
```python
|
||||||
import RPi.GPIO as IO
|
import RPi.GPIO as GPIO
|
||||||
from time import sleep
|
from time import sleep
|
||||||
|
|
||||||
IO.setmode(IO.BCM)
|
GPIO.setmode(GPIO.BCM)
|
||||||
|
|
||||||
#Lights
|
#LEDs
|
||||||
IO.setup(22,IO.OUT)
|
GPIO.setup(22,GPIO.OUT)
|
||||||
IO.setup(23,IO.OUT)
|
GPIO.setup(23,GPIO.OUT)
|
||||||
IO.setup(24,IO.OUT)
|
GPIO.setup(24,GPIO.OUT)
|
||||||
|
|
||||||
#Buzzer
|
#Buzzer
|
||||||
IO.setup(5,IO.OUT)
|
GPIO.setup(5,GPIO.OUT)
|
||||||
|
|
||||||
#Button
|
#Bouton
|
||||||
IO.setup(25,IO.IN,pull_up_down=IO.PUD_UP)
|
GPIO.setup(25,GPIO.IN,pull_up_down=GPIO.PUD_UP)
|
||||||
```
|
```
|
@ -4,7 +4,7 @@ name: Unicorn HAT
|
|||||||
manufacturer: Pimoroni
|
manufacturer: Pimoroni
|
||||||
url: http://shop.pimoroni.com/products/unicorn-hat
|
url: http://shop.pimoroni.com/products/unicorn-hat
|
||||||
buy: 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
|
description: une matrice 8x8 de LEDs RGB
|
||||||
github: https://github.com/pimoroni/unicornhat
|
github: https://github.com/pimoroni/unicornhat
|
||||||
install:
|
install:
|
||||||
'apt':
|
'apt':
|
||||||
@ -18,7 +18,7 @@ install:
|
|||||||
pincount: 40
|
pincount: 40
|
||||||
pin:
|
pin:
|
||||||
'12':
|
'12':
|
||||||
name: Data
|
name: données
|
||||||
direction: output
|
direction: output
|
||||||
mode: pwm
|
mode: pwm
|
||||||
active: high
|
active: high
|
||||||
@ -26,22 +26,17 @@ pin:
|
|||||||
-->
|
-->
|
||||||
#Unicorn HAT
|
#Unicorn HAT
|
||||||
|
|
||||||
##AWAITING TRANSLATION
|
l'Unicorn présente une matrice composée de 64 LEDs tricolores RGB contrôlées par une bibliothèque programmée en C, mais addressable depuis Python.
|
||||||
##EN COURS DE TRADUCTION
|
|
||||||
|
|
||||||
64 blindingly bright LEDs packed into a HAT and driven with an ultra-fast, C library that you can talk to
|
Important: l'opération de l'Unicorn au travers de la broche PWM n'est pas compatible avec l'usage de la sortie analogique audio de la Raspberry Pi, et il n'est pas possible d'utiliser les deux simultanément.
|
||||||
from Python make Unicorn HAT PiGlow's bigger, brighter brother.
|
|
||||||
|
|
||||||
Note: Unicorn HAT uses some special PWM trickery, performed with the same hardware that lets you Pi produce sound
|
Pour l'installation et mise en route exécutez simplement les commandes ci-dessous et suivez les instructions présentées à l'écran:
|
||||||
through the audio jack ( analog audio ) so you can't use both at the same time!
|
|
||||||
|
|
||||||
To get the HAT set up and ready to go you can use the one-line product installer:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -sS get.pimoroni.com/unicornhat | bash
|
curl -sS get.pimoroni.com/unicornhat | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
Then import it into your Python script and start tinkering:
|
Puis, sous Python, en guise de test que tout fonctionne bien:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
import unicornhat
|
import unicornhat
|
||||||
|
@ -20,7 +20,7 @@ strings:
|
|||||||
- uses_n_gpio_pins: ' {} broches GPIO actives'
|
- uses_n_gpio_pins: ' {} broches GPIO actives'
|
||||||
- bcm_pin_rev1_pi: 'broche BCM {} sur Raspi Rev 1'
|
- bcm_pin_rev1_pi: 'broche BCM {} sur Raspi Rev 1'
|
||||||
- physical_pin_n: 'broche physique {}'
|
- physical_pin_n: 'broche physique {}'
|
||||||
- more_information: 'informations supplémentaires'
|
- more_information: 'plus d''info'
|
||||||
- github_repository: 'lien GitHub'
|
- github_repository: 'lien GitHub'
|
||||||
- buy_now: 'achat'
|
- buy_now: 'achat'
|
||||||
overlays:
|
overlays:
|
||||||
|
Loading…
Reference in New Issue
Block a user