Modifications

Sauter à la navigation Sauter à la recherche
63 octets ajoutés ,  21 août 2017 à 21:47
aucun résumé de modification
Ligne 1 : Ligne 1 :  
{{RASP-PCF8523-NAV}}
 
{{RASP-PCF8523-NAV}}
  −
{{traduction}}
      
== Configurer I2C sur votre Pi ==
 
== Configurer I2C sur votre Pi ==
Ligne 13 : Ligne 11 :     
== Vérifier le câblage ==
 
== Vérifier le câblage ==
Verify your wiring by running
+
Vérifier le câblage en exécutant la commande suivante pour installer les logiciels I2C.
    
  sudo apt-get install python-smbus i2c-tools
 
  sudo apt-get install python-smbus i2c-tools
   −
to install the helper software and then {{fname|sudo i2cdetect -y 1}} at the command line, you should see ID #68 show up - that's the address of the DS1307, PCF8523 or DS3231!
+
Exécutez ensuite la commande {{fname|sudo i2cdetect -y 1}} pour détecter les périphériques I2C présents sur le bus.
   −
If you have a much older Pi 1, you will have to run {{fname|sudo i2cdetect -y 0}} as the I2C bus address changed from 0 to 1
+
Vous devriez vois l'identifiant #68 apparaître dans la liste - c'est l'adresse du module DS1307, PCF8523 ou DS3231!
    
{{ADFImage|RASP-PCF8523-I2C-Test.gif}}
 
{{ADFImage|RASP-PCF8523-I2C-Test.gif}}
   −
{{ambox|text= Once you have the Kernel driver running, i2cdetect will skip over 0x68 and display UU instead, this means its working!}}
+
{{ambox|text=Une fois le pilote chargé RTC par le noyau (voir page suivante), i2cdetect n'affichera plus la valeur de l'adresse (0x68) mais un "UU". Cela signifie que le module est pris en charge par le système!}}
    
{{RASP-PCF8523-TRAILER}}
 
{{RASP-PCF8523-TRAILER}}
29 918

modifications

Menu de navigation