displaylib_1bit_PICO 2.0.0
1-bit colour graphic display library, Rpi PICO RP2040 library
Loading...
Searching...
No Matches
main.cpp File Reference

Test file for ERM19264 library,showing how to draw bitmap. More...

#include "pico/stdlib.h"
#include "hardware/spi.h"
#include "displaylib/bitmap_test_data.hpp"
#include "displaylib/erm19264.hpp"

Detailed Description

Test file for ERM19264 library,showing how to draw bitmap.

Author
Gavin Lyons
Test:
  1. Test 301 Buffer init test : Bitmap Vertical addressed, can be used when initialising Buffer. Buffer is defined with bitmap data in it.
  2. Test 302 LCDBitmap method test : Bitmap Vertical addressed, buffer not used, writes directly to screen, NO Buffer.
  3. Test 303 drawBitmap method test 1/2 : Bitmap Data Vertical addressed, call setDrawBitmapAddr(true) to set this mode. Default.
  4. Test 304 drawBitmap method test 2/2 : Bitmap Data Horizontal addressed call setDrawBitmapAddr(false) to set this mode
  5. Test 305 small bitmaps