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

Hello World hardware or software SPI test. More...

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

Detailed Description

Hello World hardware or software SPI test.

Author
Gavin Lyons.

Uses advanced screen buffer mode. 1. To switch between Hardware and software SPI set ''HardwareSPI'' in ''Globals'' 2. In USER SCREEN TYPE SECTION below: Setup for 160X160 dual gate display : DUAL_GATE_SETUP (default) Setup for 40X160 Single gate display : SINGLE_GATE_SETUP 3. See USER OPTIONS 1-3 in SETUP function

Test:
  1. 101 Hello World Hardware SPI
  2. 102 Hello World Software SPI