Modifications

Sauter à la navigation Sauter à la recherche
82 octets ajoutés ,  21 août 2017 à 21:16
Ligne 57 : Ligne 57 :     
== Fixer l'heure de la RTC ==
 
== Fixer l'heure de la RTC ==
When you first plug in the RTC module, it's going to have the wrong time because it has to be set once. You can always read the time directly from the RTC with {{fname|sudo hwclock -D -r}}
+
La première fois que l'on branche un module RTC, celui-ci ne donnera pas la bonne heure parce qu'il doit être configuré au moins une fois. Il est possible de lire l'heure du module à n'importe quel moment en utilisant la commande {{fname|sudo hwclock -D -r}}
    
{{ADFImage|RASP-PCF8523-Fixer-Heure-10.png}}
 
{{ADFImage|RASP-PCF8523-Fixer-Heure-10.png}}
   −
You can see, the date at first is invalid! You can set the correct time easily. First run {{fname|date}} to verify the time is correct. Plug in Ethernet or WiFi to let the Pi sync the right time from the Internet. Once that's done, run {{fname|sudo hwclock -w}} to '''w'''rite the time, and another {{fname|sudo hwclock -r}} to '''r'''ead the time
+
Vous pouvez constater, que la date est invalide!  
 +
 
 +
You can set the correct time easily. First run {{fname|date}} to verify the time is correct. Plug in Ethernet or WiFi to let the Pi sync the right time from the Internet. Once that's done, run {{fname|sudo hwclock -w}} to '''w'''rite the time, and another {{fname|sudo hwclock -r}} to '''r'''ead the time
    
{{ADFImage|RASP-PCF8523-Fixer-Heure-11.png}}
 
{{ADFImage|RASP-PCF8523-Fixer-Heure-11.png}}
29 917

modifications

Menu de navigation