Is there a way to keep a display on the TFT without delay()?


#1

Hey guys, I’m building the Starter bot with a few extras (TFT, compass, Tilt/pan, Wifi) and I’m at the point where I’ve got the TFT and compass working together, but I wondering how I can keep the current heading (and then other things, but the heading for now) displayed without pausing the entire program. Is there a way to do that?

I’ve asked a bunch of other questions about this build on the thread about Compass and TFT living on the same bot.


#2

Hi BigAl,

You may need the Timer Function. Please look for a function in arduino which has the timer function may be help.


#3

Thanks for the pointer!

The TFT will retain the last thing sent to it, which is what I was trying to do. Turns out an errant call to clear the screen was the culprit.

Are you guys planning on updating the information about using the modules? I know on the ‘learn’ part of the site, you’ve done some great work standardizing and improving the module pages, but I’m thinking a few paragraphs of 'how to" information would go a long way. mBlock programming abstracts all of that and perhaps that is what you’re aiming for in the ‘learn’ pages.


#4

Hi BigAl,

Thanks for your feedback and suggestion.
Yes, we have improved the module pages on learn page before. Currently, there is no definitely plan to keep improving the page for TFT. While I will add your suggestion to our customer suggestion list and will keep improving the learn website.


#5