TFT.LCD ILI9340 common functions/commands

Post test messages here

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
Raven81
 
Posts: 2
Joined: Tue Dec 31, 2013 4:04 am

TFT.LCD ILI9340 common functions/commands

Post by Raven81 »

I am working in a project using the TFT.LCD ILI9340 and I want to display the incoming value analog input into this screen. I already have my output but I am not sure which command / function refresh the screen. An spectrum analyzer youtube video shows what I mean. It is crucial to develop some type of documentation for this gadgets because the example code is not enough. At least the main functions should be included in the purchase

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: TFT.LCD ILI9340 common functions/commands

Post by adafruit_support_rick »

Please see our tutorial on the Adafruit_GFX library
http://learn.adafruit.com/adafruit-gfx-graphics-library

User avatar
cargnelli
 
Posts: 7
Joined: Sat Sep 13, 2014 7:12 am

Re: TFT.LCD ILI9340 common functions/commands

Post by cargnelli »

Hi,

On a related topic, I'd like to use the screen to display a colored, text only interface (a few "label = value" lines). Writing a character doesn't erase the previous value, so right now I have to clear the screen before writing the next value. But even if the refresh is very low frequency, clearing the whole screen is very slow (and visible). It would be faster to refresh only the needed zone (the "value" part, obviously), but I don't know how to simply get this zone coordinates.

Now, I can (and I will) try to figure it out on my own, but if there's an obvious answer I've missed I would be glad to know about it :)

Cheers.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: TFT.LCD ILI9340 common functions/commands

Post by adafruit_support_rick »

Just draw a filled rectangle over the area to be changed.

Locked
Please be positive and constructive with your questions and comments.

Return to “Test Message Forum (closed)”