3.5" TFT help

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
lbkulinski
 
Posts: 116
Joined: Wed May 07, 2014 4:41 pm

3.5" TFT help

Post by lbkulinski »

I recently added Adafruit's 3.5" TFT LCD to my remote control lawn mower project. I have run into a problem Wjere the display continuously blinks (or refreshes) since it is in the loop function in my code. I have been trying to figure out how to stop it from blinking (looping), but I figured I would try to get some input on here as well. Thanks!

User avatar
Franklin97355
 
Posts: 23912
Joined: Mon Apr 21, 2008 2:33 pm

Re: 3.5" TFT help

Post by Franklin97355 »

Since it is in the loop it will run whatever code you are sending it every time. A good way to stop the flicker is to write to the display only when there are changes and to write only to the parts of the display that changed. It takes a bit of coding and some thought to what will change and what won't but it helps with the flicker.

User avatar
lbkulinski
 
Posts: 116
Joined: Wed May 07, 2014 4:41 pm

Re: 3.5" TFT help

Post by lbkulinski »

Yeah, that's what I was thinking. Thank you!

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

Return to “Other Arduino products from Adafruit”