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

Example cpp file for gc9d01 display Library test file, tests : Bitmaps, text,graphics & functions. More...

#include <iostream>
#include <atomic>
#include <csignal>
#include <thread>
#include "Bitmap_test_data.hpp"
#include "GC9D01_TFT_LCD_RDL.hpp"

Detailed Description

Example cpp file for gc9d01 display Library test file, tests : Bitmaps, text,graphics & functions.

Uses advanced screen buffer mode. Hardware SPI Setup for 160X160 dual gate display

Note
See USER OPTIONS 1-3 in SETUP function
Test:
  1. Test 300 Sprites demo, small bitmap
  2. Test 301 icons, small bitmap
  3. Test 302 bi-color image 128x128
  4. Test 303 24 bit color image bitmaps from the file system
  5. Test 304 16 bit color image bitmaps from the file system
  6. Test 305 16 bit color image bitmap from data
  7. Test 500 RGB color OK?
  8. Test 501 Scroll test
  9. Test 502 Rotate
  10. Test 503 change modes test -> Invert, display on/off and Sleep.
  11. Test 701 Print out some fonts with writeCharString
  12. Test 702 Print out some fonts with print
  13. Test 703 Misc print class tests(string object, println invert, wrap, base nums etc)
  14. Test 902 rectangles
  15. Test 903 Circles
  16. Test 904 Triangles
  17. Test 905 Polygons
  18. Test 906 Dot Gap
  19. Test 907 Quadrilateral
  20. Test 908 Ellipse
  21. Test 909 Draw Arc