Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:05 21 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : 2.8" TFT text problem

Author Message
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1992
Posted: 05:54pm 09 Aug 2015
Copy link to clipboard 
Print this post

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: Australia
Posts: 6273
Posted: 07:22pm 09 Aug 2015
Copy link to clipboard 
Print this post

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 Zealand
Posts: 9603
Posted: 07:28pm 09 Aug 2015
Copy link to clipboard 
Print this post

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: Australia
Posts: 1992
Posted: 07:53pm 09 Aug 2015
Copy link to clipboard 
Print this post

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: Australia
Posts: 6273
Posted: 08:03pm 09 Aug 2015
Copy link to clipboard 
Print this post

  palcal said   but I can't explain how I have one working and displaying text using font #1.
Paul.

I think that the font numbers were swapped in an earlier beta version.

Jim
VK7JH
MMedit
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1992
Posted: 08:29pm 09 Aug 2015
Copy link to clipboard 
Print this post

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: Australia
Posts: 2949
Posted: 09:46pm 09 Aug 2015
Copy link to clipboard 
Print this post

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) <<<
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025