Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 813 Bytes

README.md

File metadata and controls

56 lines (42 loc) · 813 Bytes

SKU_RM0004

Turn on i2c and set the speed

Add the following to the /boot/config.txt file

dtparam=i2c_arm=on,i2c_arm_baudrate=400000

Turn on the button to control the shutdown function

Add the following to the /boot/config.txt file

dtoverlay=gpio-shutdown,gpio_pin=4,active_low=1,gpio_pull=up

reboot your system

sudo reboot

Wait for the system to restart

Clone SKU_RM0004 library

git clone https://github.com/TiVoHomeUser/SKU_RM0004.git

Compile

cd SKU_RM0004
make

Run

./display

Add automatic start script

Open the rc.local file

sudo nano /etc/rc.local

Add command to the rc.local file

cd /home/pi/SKU_RM0004
make clean 
make 
./display &

reboot your system