The root cause is the compiler is treating the color as a Word.
Edit the file C:\GCstudio\GreatCowBasic\include\glcd_ili9488.h and change color definitions to be cast like ILI9488_TFT_BLACK = [LONG]0x000000 so, you will add[LONG] to all the ILI9488 color definitions ( NOT THE TFT section!).
Save, test, report. :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Summary you thought was an ILI9488L was a clone ILI9488.
The library had a missing method to support String handling which we have resolved ( you need to move the new GLCDPrint() to an appropiate place in GLCD.H ).
And, the Yellow color defintion for the 18bit was incorrect.
Make the final change to GLCD.h by moving the new GLCDPrint().
Then, send me your GLCD.h and the glcd_ili9488.h - you have the masters!
I have changed mine, so, i need to do compare.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Green is displaying as yellow.
Is Yellow box and Yellow text the same color?
If yes - then the color definition is incorrect. I would have to recalculate.
looks green to me but I'm red green colour blind.
The root cause is the compiler is treating the color as a Word.
Edit the file
C:\GCstudio\GreatCowBasic\include\glcd_ili9488.h
and change color definitions to be cast likeILI9488_TFT_BLACK = [LONG]0x000000
so, you will add[LONG]
to all the ILI9488 color definitions ( NOT THE TFT section!).Save, test, report. :-)
Almost There. Yellow is Orange.
amended h file. Make sure done correctly.
Loooks good.
Try
ILI9488_TFT_YELLOW = [LONG]0xFFFF00
to resolve the Yellow issue.Excellent. All good. Thank you for your speedy help.
Wow. Job done.
Amazing.
Summary you thought was an ILI9488L was a clone ILI9488.
The library had a missing method to support String handling which we have resolved ( you need to move the new GLCDPrint() to an appropiate place in GLCD.H ).
And, the Yellow color defintion for the 18bit was incorrect.
Make the final change to GLCD.h by moving the new GLCDPrint().
Then, send me your GLCD.h and the glcd_ili9488.h - you have the masters!
I have changed mine, so, i need to do compare.
Will do. Just found another small issue. This works with the 9341 display, but with the 9488
i get the message when using 20*i get the error message.
That is a major issue.
I need that program and the two library files. I will to get my setup the same as yours.
GLCDPrint() inserted at line 1015. Re-flashed all ok.
As above.
Loop test problem attached.
Works here. Send me your ASM
Attached.
No BASIC code in the ASM. Please add. Re-upload.
Sorry. Not sure what you mean.
I need the GCBASIC commands as comments in the ASM. Use Prefs Editor to enable.
Using Synwrite where's the pref's editor?
I will try on another PC(win10) over weekend. Currently using Win7. Could be an install issue?
you can use GC Code on win7 now, just go to settings panel and choose it as IDE and stay on "mainstream win7" channel
The Prefs Editor is the same utility where you change the programmer. There is another tab where you can set the compiler options.
Attached.
I got an ili 9488 I could use with 328 nano as same as ili9341 wiring if any use to test as another user.