DRIVERS.md: Doc ILI9486 COLOR_INVERT class variable.

pull/48/head
peterhinch 2023-02-02 10:43:08 +00:00
rodzic e5f30ec176
commit 248026cf38
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -641,7 +641,7 @@ If your display shows garbage, check the following (I have seen both):
## 3.4 Driver for ILI94xx ## 3.4 Driver for ILI94xx
This was developed for the ILI9486 but its application is more wide ranging. This was developed for the ILI9486 but its application is more wide ranging.
In addition to ILI9486 tThese have been tested: ILI9341, ILI9488 and HX8357D. In addition to ILI9486 these have been tested: ILI9341, ILI9488 and HX8357D.
The ILI9486 supports displays of up to 480x320 pixels which is large by The ILI9486 supports displays of up to 480x320 pixels which is large by
microcontroller standards. Even with 4-bit color the frame buffer requires microcontroller standards. Even with 4-bit color the frame buffer requires
@ -721,7 +721,7 @@ def spi_init(spi):
spi.init(baudrate=10_000_000) spi.init(baudrate=10_000_000)
``` ```
#### ILI9486 class variable #### ILI9486 class variable
* COLOR_INVERT = 0 * COLOR_INVERT = 0
@beetlegig [reported](https://github.com/micropython/micropython/discussions/10511#discussioncomment-4833729) @beetlegig [reported](https://github.com/micropython/micropython/discussions/10511#discussioncomment-4833729)
inverted colors on an ILI9488 display. If black appears as white, and other inverted colors on an ILI9488 display. If black appears as white, and other
colors are incorrect, adapt the `color_setup.py` or `hardware_setup.py` to set colors are incorrect, adapt the `color_setup.py` or `hardware_setup.py` to set