Menu

GLCD ILI9486

Help
Mikam
2023-05-16
2023-05-21
<< < 1 2 3 4 > >> (Page 3 of 4)
  • Mikam

    Mikam - 2023-05-19

    Green is displaying as yellow.

     
    • Anobium

      Anobium - 2023-05-19

      Is Yellow box and Yellow text the same color?

      If yes - then the color definition is incorrect. I would have to recalculate.

       
    • stan cartwright

      stan cartwright - 2023-05-19

      looks green to me but I'm red green colour blind.

       
  • Anobium

    Anobium - 2023-05-19

    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. :-)

     
  • Mikam

    Mikam - 2023-05-19

    Almost There. Yellow is Orange.

     
  • Mikam

    Mikam - 2023-05-19

    amended h file. Make sure done correctly.

     
    • Anobium

      Anobium - 2023-05-19

      Loooks good.

      Try ILI9488_TFT_YELLOW = [LONG]0xFFFF00 to resolve the Yellow issue.

       
  • Mikam

    Mikam - 2023-05-19

    Excellent. All good. Thank you for your speedy help.

     
    • Anobium

      Anobium - 2023-05-19

      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.

       
  • Mikam

    Mikam - 2023-05-19

    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.

     
    • Anobium

      Anobium - 2023-05-19

      That is a major issue.

      I need that program and the two library files. I will to get my setup the same as yours.

       
  • Mikam

    Mikam - 2023-05-19

    GLCDPrint() inserted at line 1015. Re-flashed all ok.

     
  • Mikam

    Mikam - 2023-05-19

    As above.

     
  • Mikam

    Mikam - 2023-05-19

    Loop test problem attached.

     
  • Anobium

    Anobium - 2023-05-19

    Works here. Send me your ASM

     
  • Mikam

    Mikam - 2023-05-19

    Attached.

     
    • Anobium

      Anobium - 2023-05-19

      No BASIC code in the ASM. Please add. Re-upload.

       
  • Mikam

    Mikam - 2023-05-19

    Sorry. Not sure what you mean.

     
  • Anobium

    Anobium - 2023-05-19

    I need the GCBASIC commands as comments in the ASM. Use Prefs Editor to enable.

     
  • Mikam

    Mikam - 2023-05-19

    Using Synwrite where's the pref's editor?

     
  • Mikam

    Mikam - 2023-05-19

    I will try on another PC(win10) over weekend. Currently using Win7. Could be an install issue?

     
    • Angel Mier

      Angel Mier - 2023-05-19

      you can use GC Code on win7 now, just go to settings panel and choose it as IDE and stay on "mainstream win7" channel

       
  • Anobium

    Anobium - 2023-05-19

    The Prefs Editor is the same utility where you change the programmer. There is another tab where you can set the compiler options.

     
  • Mikam

    Mikam - 2023-05-19

    Attached.

     
  • stan cartwright

    stan cartwright - 2023-05-19

    I got an ili 9488 I could use with 328 nano as same as ili9341 wiring if any use to test as another user.

     
<< < 1 2 3 4 > >> (Page 3 of 4)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.