Account Navigation

Account Navigation

Currency - All prices are in AUD

Currency - All prices are in AUD
 Loading... Please wait...
CuteDigi

How to do clock update on pcDuino8 Uno

Posted by on

pcDuino8 Uno doesn’t have an onboard RTC. So if you power it up, the clock and date will be lost. Once you get network connection, you can force a time update using the following command:

?
1
$sudo ntpdate -s time.nist.gov

If you want that it happens automatically every time it reboots,

<code>( /etc/init.d/ntp stop
until ping -nq -c3 8.8.8.8; do
   echo "Waiting for network..."
done
ntpdate -s time.nist.gov
/etc/init.d/ntp start )

</code>

We can change the time zone by:

$sudo dpkg-reconfigure tzdata