(04-02-2022, 04:58 PM)TookaFace Wrote: Updated procedure for moOde 8 and higher:
Code:sudo apt update
sudo apt-get -y install lirc
sudo -i pip install --upgrade pip setuptools
sudo pip install luma.core luma.oled
Add at the end of /boot/config.txt:
Code:dtparam=spi=on
dtoverlay=gpio-ir,gpio_pin=4
Download and install oled and lirc files:
Code:wget -O raspdacmini_8.tar "https://drive.google.com/uc?export=download&id=1-CRIicwQYm1y5xZgu8w54mvn0XjmcLe9"
tar xvf raspdacmini_8.tar
sudo chmod 755 oled/raspdac_oled_main.py
sudo chmod 644 oled/oled.service
sudo cp oled/oled.service /etc/systemd/system/
sudo systemctl enable oled
sudo cp -r lirc/* /etc/lirc
rm -r lirc
rm raspdacmini_8.tar
sudo reboot
I cannot add anything to config.txt
I use WIN SCP
Permission denied