ILI9341_T3n changing gamma from sketch.

neutron7

Well-known member
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_t3...2e76f61a789fcd3ee823fae1e/src/ILI9341_t3n.cpp

Could those gamma commands be issued "live" instead of during init?
 
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.
 
Back
Top