Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: ILI9341_T3n changing gamma from sketch.

  1. #1
    Senior Member
    Join Date
    Jan 2014
    Posts
    108

    ILI9341_T3n changing gamma from sketch.

    I would like to be able to alter the gamma settings from within my sketch because the default curve (or my particular display) has all the colors full bright at the top few values below maximum. having the most color range possible with only 5 or 6 bits available per color would help make the display look better.

    I noticed there are some gamma settings in the init_commands[] here.

    https://github.com/KurtE/ILI9341_t3n...LI9341_t3n.cpp

    Could those gamma commands be issued "live" instead of during init?

  2. #2
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    8,472
    You could if you added in the appropriate functions and associated commands from the spec. Take a look at functions like
    Code:
    invertDisplay
    
    and
    
    setScroll
    in the .cpp file. Once they are added you can call them.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •