Reply To: Quick switch between HDMI and PiScreen

Home Forums Forums Technical Support for PiScreen Quick switch between HDMI and PiScreen Reply To: Quick switch between HDMI and PiScreen

#5119
Mark Williams
Keymaster

I did a test and I got the same results. It is a problem with Java.
I assume you are using Ardiuno from the apt-get repo. I was... this is an old version.
I was able to download 1.6 and it worked on PiScreen

try this;
-remove arduino
sudo apt-get remove arduino

download Arduino for ARM from arduino.cc, the version i downloaded was arduino-1.6.11-linuxarm.tar.xz
-extract
tar xvf arduino-1.6.11-linuxarm.tar.xz
-go into the new directory and run install.sh
sudo ./install.sh

-now try and run Arduino on PiScreen... it should open, but the window is too big.

-Edit Arduino preferences
nano ~/.arduino15/preferences.txt

play around with the values below to change the window size;

editor.window.height.default=300
editor.window.height.min=290
editor.window.width.default=400
editor.window.width.min=400

Mark --OzzMaker.com --

Blip, blop, bloop...