Modifications

Sauter à la navigation Sauter à la recherche
934 octets ajoutés ,  21 août 2017 à 17:09
Ligne 55 : Ligne 55 :  
{{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
    +
{{ADFImage|RASP-PCF8523-Fixer-Heure-11.png}}
    +
Once the time is set, make sure the coin cell battery is inserted so that the time is saved. You only have to set the time once
 +
 +
That's it! Next time you boot the time will automatically be synced from the RTC module
 +
 +
== Raspbian Wheezy ou autres systèmes pré-systemd ===
 +
Si ce point vous intéresse en particulier, vous pouvez poursuivre votre lecture depuis la page "[https://learn.adafruit.com/adding-a-real-time-clock-to-raspberry-pi/set-rtc-time#raspbian-wheezy-or-other-pre-systemd-linux Raspbian Wheezy or other pre-systemd Linux]"
    
{{RASP-PCF8523-TRAILER}}
 
{{RASP-PCF8523-TRAILER}}
29 917

modifications

Menu de navigation