- Close the Arduino IDE. (Otherwise your edits will be overwritten)
- Open
preferences.txt
. (Found in the folder~/.arduino15
on Linux Mint) - Add a new value
build.path
that points to your preferred folder:build.path=/dev/shm/Arduino
- Save
preferences.txt
. - Restart the IDE. Compiler output is now saved in the folder you just added.
Remember thatdev/shm
is gone after a reboot!
Tag Archives: linux
Use ADB with Brave.
Install Android Debug Bridge and in a terminal start adb with sudo adb devices
.
If your device is listed you can browse to brave://inspect/#devices
and your device should be visible.

Getting the eStreamPlayer32 interface working on Pi-hole with 3,5″ touchscreen.
The rPi acts as file server for the ESP32 and as interface for the eStreamPlayer32 through the chromium web browser that comes preinstalled with Raspbian.
The output from the browser goes to the 3.5″ TFT touchscreen that is attached.
This post is about the web-interface on the rPi.
Working from memory here. Probably forgot some step.
- Install Raspbian with desktop on the rPi.
- Open
raspi-config
and:
OpenBoot options
and setWait for Network at Boot
to<Yes>
.
(Not enabling this will make NFS mounts fail at boot)
OpenInterfacing Options
and enable bothSSH
andSPI
.
Closeraspi-config
. - Install Pi-Hole on the rPi. Remember to set a static ip. Let Pi-Hole reboot the rPi.
- Edit
/etc/fstab
to mount192.168.0.100:/tmp/mnt/sda1/music
on/mnt/muziek
. - Make a symlink in
/var/www/html
namedmuziek
that points to/mnt/muziek
. - Edit
/etc/lighttpd/lighttpd.conf
and add the handler".mp3" => "audio/mpeg",
tomimetype.assign
.
The MP3 decoder will not recognize audio files if this header is absent and fails to play the file without any error.
(TODO: raise an issue about this at the ESP32-audioI2S repo) - Install LCD-show and start the LCD with the
LCD35-show
script.
The script will reboot the rPi to display the desktop on the LCD. - Rotate the rPi display to 270 degrees. See here how to.
- Invert the touchscreen coordinates. See here how to.
- Set the screensaver to never activate. See here how to.
- Open chromium on the rPI and browse to the ESP32 ip address.
- Set the browser to full screen.
Making rPi NFS mounts work at boot.
- Just open a terminal and start
sudo raspi-config
. - Select
Boot Options
and setWait for Network at Boot
toyes
. - Reboot to see
ifthat I am right.
LINKED: stackexchange
Basic rPi PADD on touchscreen install.
Install Pi-hole Ad Detection Display on your rPi.
- Get your touchscreen display working.
- Open
raspi-config
and setBoot Options -> DeskTop / CLI
toConsole Autologin
. - Download PADD and make executable:
cd ~
wget -N https://raw.githubusercontent.com/jpmck/PADD/master/padd.sh
sudo chmod +x padd.sh - Start PADD with
./padd.sh
- Exit with
CTRL-C
Links:
3,5 inch touchscreen on rPi.
Follow these steps to use a 3.5 inch touchscreen on your rPi.
- Update your system with
sudo apt-get update && sudo apt-get upgrade
- Start
raspi-config
and go toInterfacing Options
and enable the SPI interface. - Download LCD-show van Github:
cd ~
sudo rm -rf LCD-show
git clone https://github.com/goodtft/LCD-show.git
chmod -R 755 LCD-show - Enter the folder you just cloned with
cd LCD-show
Now all you have to do is start the script for your LCD type.
For a 3.5″ display you runsudo ./LCD35-show
The system will install/setup the LCD and reboot with the LCD as display.
To switch back to HDMI:
To use the HDMI port again, go to the LCD-show
folder and runsudo ./LCD-hdmi
to switch back to HDMI.
Links
raspberrytips.nl circuitdigest.com github.com/goodtft/LCD-show