19
2020
09

屏幕驱动

rpi-rw
sudo su
cd /tmp
git clone https://github.com/on7lds/NextionDriverInstaller.git
#sudo rm /usr/local/bin/NextionDriver
sudo NextionDriverInstaller/install.sh

y

#sudo NextionDriverInstaller/install.sh



https://github.com/on7lds/NextionDriverInstaller/blob/master/README.md


以这个为准


没安装好

安装2遍第一遍安装完后

  1. cd /usr/local/bin

  2. sudo cp NextionDriver /dev/ttyNextionDriver

将驱动拷过去

然后再安装一遍


国内ntp时间服务器


国内的NTP Server

国内的NTP Server基本都属于科研教育机构所有,普通社会组织发布的NTP Server并不多,以下是一些国内可用的时间服务器:

        1.cn.pool.ntp.org
        2.cn.pool.ntp.org
        3.cn.pool.ntp.org
        0.cn.pool.ntp.org
        cn.pool.ntp.org


增加GPS时间

# GPS Serial data reference
server 127.127.28.0 minpoll 4 maxpoll 4
fudge 127.127.28.0 time1 0.0 refid GPS

查看NTP命令

ntpq -crv -p

« 上一篇 下一篇 »