- August 22, 2016 at 2:19 am #5116
My LCD is working. It's awesome for the special interface I need. But I'd like to switch back and forth between a big HDMI screen and the little LCD.
Is the quickest way to do that with 2 separate MicroSD cards?
Or can I just comment/uncomment a couple of lines used to setup the LCD?August 22, 2016 at 8:43 am #5118
To be very specific, I want to use the Arduino program to send sketches to the Arduino UNO connected to the USB. But the LCD shows a completely white screen when I launch Arduino. Sure, I can run load or write a sketch, upload it to the UNO, and control the UNO with Python when connected to HDMI, but to reboot for the LCD, I'll lose my serial connection. Anyone experience this?August 22, 2016 at 4:33 pm #5119Mark WilliamsKeymaster
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
sudo apt-get remove arduino
download Arduino for ARM from arduino.cc, the version i downloaded was arduino-1.6.11-linuxarm.tar.xz
tar xvf arduino-1.6.11-linuxarm.tar.xz
-go into the new directory and run install.sh
-now try and run Arduino on PiScreen... it should open, but the window is too big.
-Edit Arduino preferences
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 --August 31, 2016 at 12:21 pm #5321
Mark, thank you! I struggled a bit, but in the end it's all working, thanks to your encouragement!
I like the little LCD touchscreen on my RPi3. My Arduino sketches are easy to see, and they work great.
- You must be logged in to reply to this topic.