Hi,
I have successfully setup my PiTFT and run through the examples (e.g. the mplay video example), but now I want to get hacking.
How can I launch applications and have them display on the PiTFT from the command line without starting a full X window manager (e.g startx)?
Also, is there any sample code (e.g. Python, C/C++, Java, etc) showing how to create application that can take full advantage of the PiTFT and it's touch features?
Regards,
Matt
Display application window on PiTFT
Moderators: adafruit_support_bill, adafruit
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
- adafruit_support_mike
- Posts: 67485
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Display application window on PiTFT
If a program can run without needing X, it should have a command line option that lets you tell it what framebuffer to use. Feed that "/dev/fb1".mjbennetts wrote:How can I launch applications and have them display on the PiTFT from the command line without starting a full X window manager (e.g startx)?
Here's a network-aware camera: https://learn.adafruit.com/diy-wifi-ras ... m/pi-setupmjbennetts wrote:Also, is there any sample code (e.g. Python, C/C++, Java, etc) showing how to create application that can take full advantage of the PiTFT and it's touch features?
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/