Open main menu

Changes

X708-Software

404 bytes removed, 11:54, 23 July 2020
no edit summary
printf "%s\n" "alias x728off='sudo x728softsd.sh'" >> ~/.bashrc
sudo reboot
 
5. Set and Read the RTC time. X708 does't support RTC, so comment out the following script.
#If you need to set the system time for any reason you can use the following command :
#date -s "5 MAR 2019 13:00:00"
#Write the system date and time to the RTC module after your correct the system date and time :
#sudo hwclock -w
#Read the date and time back from the RTC module:
# sudo hwclock -r
6. How to reading battery voltage and percentage, this is the sample code, you can modify it by your request.