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

Library test file, bitmaps + FPS test. More...

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

Detailed Description

Library test file, bitmaps + FPS test.

Author
Gavin Lyons.
Note
See USER OPTIONS 1-3 in SETUP function

The FPS test is setup for a 128by128 pixel bitmap Five files 128by128 pixels are loaded and displayed as many times as possible in 10 seconds to calculate FPS. 289 frames, 10 sec, 28.8396 fps at 8Mhz SPI Baud rate, HW SPI

Test:
  1. Test 300 Sprites demo, small bitmap
  2. Test 301 "clock demo" , icons, small bitmap
  3. Test 302 bi-color image 128x128
  4. Test 303A 24 bit 240by280 color image bitmap from the file system
  5. Test 303B 24 bit 128by128 color image bitmaps from the file system
  6. Test 304A 16 bit 128by128 color image bitmaps from the file system
  7. Test 304B 16 bit 240by320 color image bitmap from the file system
  8. Test 601 Frame rate per second (FPS) test. 24 bit bitmaps.