Hello
Before i post, i've searched on the forum and other people had the same problem as me, but as far as i got, no solution.
I set up a 1.8" adafruit tft display on a arduino uno, it's intended as a multi-gauge (pressure, temperature etc). The problem is that characters overwrite themselves, as far as i understand that has to do with the native background color and the way the code writes pixels. After a couple of seconds, each character becomes unreadable, and if you try to fill the screen or draw a rectangle at the end of each loop, the refresh rate becomes terrible.
Any solutions?
1.8" TFT characters refresh
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: 1.8" TFT characters refresh
You have to erase the old characters before you write the new ones. There are two ways to do that: 1) draw a rectangle in the background color, or 2) rewrite the old characters in the background color.
- saxonpaul92
- Posts: 28
- Joined: Tue Jan 01, 2013 4:40 pm
Re: 1.8" TFT characters refresh
Also, be sure to only refresh after the Hour, Minute, and/or Seconds change and move the cursor to the point you want to change. If not you will get a flashing effect. Not too bad but, can be controlled if you only update when the time changes.
Please be positive and constructive with your questions and comments.