Clock running on Raspberry PI with 16x2 LCD I2C interface
sudo raspi-config
Interfacing Option -> I2C -> Enable
sudo apt-get install python-pip
pip install ics
pip install requests
pip install RPLCD
pip install smbus
Raspberry PI | I2C LCD |
---|---|
5v | VCC |
GND | GND |
SDA | SDA |
SCL | SCL |
Run cronjob every two minutes
0/2 * * * * /raspberry-pi-i2c-clock/clockmonitor.sh