Centering a println? #2831
-
Hi! I'm fairly new to the Arduino world and coding in general, so I might come with some dumb questions, so I apologize in advance! First of all, thank you Bodmer for the awesome library! I'm learning to use it right now and it's great. I am wondering if it's possible to center a tft.println int or float value? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Use tft.setTextDatum(...) and the tft.drawString/drawFloat/drawNumber functions. See examples. |
Beta Was this translation helpful? Give feedback.
-
Thanks a bunch!! I'll look at the examples and test it out. |
Beta Was this translation helpful? Give feedback.
Use tft.setTextDatum(...) and the tft.drawString/drawFloat/drawNumber functions.
See examples.