Hi,
I followed the instructions on your website and everything works as it should. Thanks for a great product!
I'm now looking for a possibility to write stuff to the TFT from a ssh session or other console window. In other words, I'm trying to avoid running an X session and I'm also not keen on the route via PyGame graphics, but a simple way to use the TFT as mirror for a ssh session. First experiments writing random character strings /dev/fb1 yields colourful pixels in the upper left corner, but I'd like to use something more high-level that allows me to use the TFT as text-only display. Alternatively, a non-X web browser like link2 might also be an option, although with a 320x240x(16bit) setting I can only get garbled output on the screen.
Any hints?
PiTFT shield, fbcon, framebuffer, ssh/console window
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 3
- Joined: Sat Jun 08, 2013 4:15 pm
- adafruit2
- Posts: 22566
- Joined: Fri Mar 11, 2005 7:36 pm
Re: PiTFT shield, fbcon, framebuffer, ssh/console window
yah - you need a program that writes to the framebuffer. pygame is probably the easiest - you will have to write something that takes data in and pipes it to the display in the font of your choosing :) there may be OTHER frame-buffer friendly programs that automatically do this. but can't think of one off hand... maybe screen? screen does just about everything ;)
-
- Posts: 3
- Joined: Sat Jun 08, 2013 4:15 pm
Re: PiTFT shield, fbcon, framebuffer, ssh/console window
...screen didn't really help, or at least I couldn't figure out how to do it. I've resorted to a program called fbtext that displays text files on /dev/fb1.
If anyone has any better ideas, please do get in touch. My write-up/log can be found here: http://logic.sysbiol.cam.ac.uk/?p=1527
Boris
If anyone has any better ideas, please do get in touch. My write-up/log can be found here: http://logic.sysbiol.cam.ac.uk/?p=1527
Boris
Please be positive and constructive with your questions and comments.