04-06-2022, 05:06 PM
(04-06-2022, 02:46 PM)Jempie Wrote:I just put the SD card in my Windows computer, opened config.txt, added the two lines and saved using notepad.(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