Display_Lib_RPI 2.4.2
A C++ Library to connect electronic displays to Linux single board computers.
Loading...
Searching...
No Matches
main.cpp File Reference

Example file for ili9341 Library, read diagnostics from Display Useful for diagnostics, debug and testing. Outputs results to console. Software SPI. More...

#include <iostream>
#include "ILI9341_TFT_LCD_RDL.hpp"

Detailed Description

Example file for ili9341 Library, read diagnostics from Display Useful for diagnostics, debug and testing. Outputs results to console. Software SPI.

Author
Gavin Lyons.
Note
See USER OPTIONS 1-3 in SETUP function. Software SPI only , hardware SPI will NOT work with readDiagByte() the way library is currently configured, complete software control of chip select line required.

ILI9341 Read Diagnostics, Results from author's display :

  1. Display Power Mode: 0x94
  2. MADCTL Mode: 0x48
  3. Pixel Format: 0x05
  4. Image Format: 0x80
  5. Self Diagnostic: 0xC0
    Test: