From 78e4a1dbb1fed0d321b529ccec007f3f6265ae0e Mon Sep 17 00:00:00 2001 From: RogueM Date: Sat, 14 Nov 2015 20:32:46 +0000 Subject: [PATCH 1/3] changelog updated --- README.md | 12 ++++++------ src/changelog.md | 3 +++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 080d906..8896728 100644 --- a/README.md +++ b/README.md @@ -24,13 +24,13 @@ The contents of this GitHub repository are used to build http://pinout.xyz and i Current known contributors are: -* de-DE - @rdmueller and KojoePi -* es-ES - @ResonantWave -* fr-FR - @RogueM -* it-IT - @LizardM4 -* tr-TR - @Ardakilic +* de - @rdmueller and @KojoePi +* es - @ResonantWave +* fr - @RogueM +* it - @LizardM4 +* tr - @Ardakilic -You should start by duplicating the `src/en` directory to the +If you would like to provide support for a language not yet in the repository you should start by duplicating the `src/en` directory to the appropriate culture. For example if you want to create a German translation you would create the folder `src/de`. There are no plans to support cultures, so you can't have `src/fr-CA` ( sorry! ). diff --git a/src/changelog.md b/src/changelog.md index a8bc481..6845d8b 100644 --- a/src/changelog.md +++ b/src/changelog.md @@ -1,6 +1,9 @@ #Overlays History This document only logs the changes to the overlay files that are relevant for purposes of translations. See files history for further details! +Nov 14, 2015 +- major tweaks to i2c.md and related pins + Nov 12, 2015 - major tweaks to arduino-spi.md From 7a73ae9a69c322bb5d09d362b104a58674048aa0 Mon Sep 17 00:00:00 2001 From: RogueM Date: Sat, 14 Nov 2015 20:51:42 +0000 Subject: [PATCH 2/3] i2c changes translated back --- src/fr/overlay/i2c.md | 2 ++ src/fr/pin/pin-3.md | 2 ++ src/fr/pin/pin-5.md | 11 +---------- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/src/fr/overlay/i2c.md b/src/fr/overlay/i2c.md index 74e879d..d7ee805 100644 --- a/src/fr/overlay/i2c.md +++ b/src/fr/overlay/i2c.md @@ -25,6 +25,8 @@ pin: I2C est un moyen très pratique pour communiquer avec de multiples périphériques, un MCP23017 IO expander digital, un microprocesseur ATmega connecté à la Raspberry Pi, etc. +Les broches i2c de la Raspi incorporent une résistance de tirage fixée à 1.8 kohms qui maintient la ligne à 3.3 volts. En conséquence elles ne peuvent être utilisées en entrées/sorties pour les applications générales ne nécessitant pas de 'pull-up'. + Pour vérifier la présence d'un périphérique sur le bus i2c, exécutez simplement les commandes suivantes: ```bash diff --git a/src/fr/pin/pin-3.md b/src/fr/pin/pin-3.md index f90fd99..e475584 100644 --- a/src/fr/pin/pin-3.md +++ b/src/fr/pin/pin-3.md @@ -1 +1,3 @@ SDA est la broche fournissant le signal de données du bus i2c de la Raspberry Pi, [référence i2c](/pinout/i2c). + +Important: incorpore une résistance de tirage fixée à 1.8 kohms qui maintient la ligne à 3.3 volts. En conséquence elle ne peut être utilisées en entrée/sortie pour les applications générales ne nécessitant pas de 'pull-up'. diff --git a/src/fr/pin/pin-5.md b/src/fr/pin/pin-5.md index e410d69..b165f74 100644 --- a/src/fr/pin/pin-5.md +++ b/src/fr/pin/pin-5.md @@ -1,12 +1,3 @@ SCL est la broche fournissant le signal d'horloge du bus i2c de la Raspberry Pi, [référence i2c](/pinout/i2c). -```python -require 'wiringpi2' -HIGH = 1 -LOW = 0 -OUTPUT = 1 -INPUT = 0 -io = WiringPi::GPIO.new -io.pin_mode(9,OUTPUT) -io.digital_write(9,HIGH) -``` \ No newline at end of file +Important: incorpore une résistance de tirage fixée à 1.8 kohms qui maintient la ligne à 3.3 volts. En conséquence elle ne peut être utilisées en entrée/sortie pour les applications générales ne nécessitant pas de 'pull-up'. From ec4707d06c8ca7b8cd1a2e4e9faf76c2a5d36609 Mon Sep 17 00:00:00 2001 From: RogueM Date: Sat, 14 Nov 2015 21:00:41 +0000 Subject: [PATCH 3/3] added unit for pull-up value --- src/en/overlay/i2c.md | 2 +- src/en/pin/pin-3.md | 2 +- src/en/pin/pin-5.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/en/overlay/i2c.md b/src/en/overlay/i2c.md index ccbfd4a..00e5d2e 100644 --- a/src/en/overlay/i2c.md +++ b/src/en/overlay/i2c.md @@ -26,7 +26,7 @@ pin: The Raspberry Pi's I2C pins are an extremely useful way to talk to many different types of external peripheral; from the MCP23017 digital IO expander, to a connected ATmega. -The i2c pins include a fixed 1.8k pull-up resistor to 3.3v. This means they are not suitable for use as general purpose IO where a pull-up is not required. +The i2c pins include a fixed 1.8 kohms pull-up resistor to 3.3v. This means they are not suitable for use as general purpose IO where a pull-up is not required. You can verify the address of connected I2C peripherals with a simple one-liner: diff --git a/src/en/pin/pin-3.md b/src/en/pin/pin-3.md index 4b47d26..3f1f9df 100644 --- a/src/en/pin/pin-3.md +++ b/src/en/pin/pin-3.md @@ -1,3 +1,3 @@ SDA (i2c Data) is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c). -SDA includes a fixed, 1.8k pull-up to 3.3v, which means this pin is not suitable for use as a general purpose IO where no pullup resistor is desired. \ No newline at end of file +SDA includes a fixed, 1.8 kohms pull-up to 3.3v, which means this pin is not suitable for use as a general purpose IO where no pullup resistor is desired. \ No newline at end of file diff --git a/src/en/pin/pin-5.md b/src/en/pin/pin-5.md index 2b03f53..814ea07 100644 --- a/src/en/pin/pin-5.md +++ b/src/en/pin/pin-5.md @@ -1,3 +1,3 @@ SCL (i2c Clock) is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c). -SCL includes a fixed, 1.8k pull-up to 3.3v, which means this pin is not suitable for use as a general purpose IO where no pullup resistor is desired. \ No newline at end of file +SCL includes a fixed, 1.8 kohms pull-up to 3.3v, which means this pin is not suitable for use as a general purpose IO where no pullup resistor is desired. \ No newline at end of file