Display_Lib_RPI 2.6.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 GC9107 display Library test file, tests : Bitmaps, text,graphics & functions. More...

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

Detailed Description

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

Uses advanced screen buffer mode. Hardware SPI Setup for 60x160 display See USER OPTIONS in SETUP function

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