Modifications

Sauter à la navigation Sauter à la recherche
107 octets ajoutés ,  21 août 2017 à 21:06
Ligne 11 : Ligne 11 :     
== Raspbian Jessie (Systemd) ==
 
== Raspbian Jessie (Systemd) ==
You can add support for the RTC by adding a device tree overlay. Run
+
Vous pouvez ajouter le support de la RTC en ajoutant un overlay au device tree.  
 +
 
 +
Exécutez la commande:
    
  sudo nano /boot/config.txt
 
  sudo nano /boot/config.txt
   −
to edit the pi configuration and add whichever matches your RTC chip:
+
pour éditer le fichier de configuration et ajouter l'overlay correspondant à la puce RTC:
    
  dtoverlay=i2c-rtc,ds1307
 
  dtoverlay=i2c-rtc,ds1307
   −
or
+
ou
    
  dtoverlay=i2c-rtc,pcf8523
 
  dtoverlay=i2c-rtc,pcf8523
   −
or
+
ou
    
  dtoverlay=i2c-rtc,ds3231
 
  dtoverlay=i2c-rtc,ds3231
   −
to the end of the file
+
à la fin du fichier
    
{{ADFImage|RASP-PCF8523-Fixer-Heure-00.png}}
 
{{ADFImage|RASP-PCF8523-Fixer-Heure-00.png}}
   −
Save it and run {{fname|sudo reboot}} to start again. Log in and run {{fname|sudo i2cdetect -y 1}} to see the UU show up where 0x68 should be
+
Savez les modifications et exécutez {{fname|sudo reboot}} pour redémarrer le Pi.
 +
 
 +
Connectez vous et exécutez {{fname|sudo i2cdetect -y 1}} pour voir si le UU s'affiche à l'emplacement 0x68
    
{{ADFImage|RASP-PCF8523-Fixer-Heure-01.png}}
 
{{ADFImage|RASP-PCF8523-Fixer-Heure-01.png}}
29 917

modifications

Menu de navigation