![]() |
Forum Index : Microcontroller and PC projects : 2.8" TFT text problem
Author | Message | ||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1992 |
I have a project that is working fine using a 170 chip and 2.8" ILI9341 display. I wanted to do some more work on it trying to find the best colours to use on the display to make it as easy to read as possible in daylight. So I built up an identical unit, using the same PCBs and same type of display. I loaded exactly the same program but the text does not display on the screen. I have tried another chip, reprogrammed you name it but the text will not display. I have set up the display,calibrated touch, GUI test display works, GUI test touch works. The Text line is Text 180,60, "text",CM,1,2,RGB(white),RGB(black) and all I get is a black rectange. If I try Text 180,60,"text" it is OK but will not work with the extra parameters. As I have said an identical unit is working perfectly. ??????? Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6273 |
Try using font 2. Font 1 is the big one for numbers only. It took me a while to remember that! @Geoff, To help this problem, if the non-numbers in font 1 were a visible character instead of blank, the error would be more obvious. Jim VK7JH MMedit |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9603 |
Agreed. I had the same problem too - font 1 not giving me anything! ![]() If you try your exact code, but replace "text" with "1234", you will see what I mean. Smoke makes things work. When the smoke gets out, it stops! |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1992 |
Thanks I just worked out that font 2 works OK, but I can't explain how I have one working and displaying text using font #1. Anyway all is now good. Thanks Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6273 |
I think that the font numbers were swapped in an earlier beta version. Jim VK7JH MMedit |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1992 |
I was thinking maybe that was the case. The version where Font #1 works I downloaded as soon as Geoff announced it. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
bigmik![]() Guru ![]() Joined: 20/06/2011 Location: AustraliaPosts: 2949 |
Hi Paul, After 4.7b8 (last stable ... not sure of b11 and any others between b8 and b23) and 4.7b23 the font command changed (I believe Geoff basically swapped the order for consistency or something). All the demos need to be modified to suit b23 and onwards Regards, Mick Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |