Pixel positioning of text with ILI9341 library

ChrisT

Member
Hi. I'm using the excellent ILI9341 library by Paul (https://github.com/PaulStoffregen/ILI9341_t3). Drawing shapes is really easy, as you can specify the dimensions and X/Y coordinates. However when adding text I'm using line breaks for vertical spacing, and spaces (or other invisible characters) for horizontal spacing. Is there a better way?

I would love to know if there's a way to specify the exact position of text using pixel X/Y coordinates. Thanks.
 
You can also create graphics screens with text in PowerPoint and use this utility to automatically generate the .ino code. The utility is a PowerPoint slide with an embedded macro--hence you will need the ability to enable macros. Set up the slide(s) with shapes and text, then run the macro.

There will be some limitations depending on how fancy you want to get. Link to the library in the vid description.

 
Back
Top