Modifications
Sauter à la navigation
Sauter à la recherche
← Modification précédente
Modification suivante →
RASP-PCF8523-Fixer-Heure
(voir la source)
Version du 21 août 2017 à 21:06
107 octets ajoutés
,
21 août 2017 à 21:06
→Raspbian Jessie (Systemd)
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}}
Admin
Bureaucrates
,
Administrateurs
29 917
modifications
Menu de navigation
Outils personnels
Se connecter
Espaces de noms
Page
Discussion
Variantes
Affichages
Lire
Voir le texte source
Voir l’historique
Plus
Rechercher
Navigation
ARDUINO
RASPBERRY-PI
[:: PI Hacking ::]
Particle.IO
Micro Python
Imprimante 3D
Actualités
Modifications récentes
Page au hasard
Aide
Outils
Pages spéciales
Version imprimable