The library supports drawing lines, shapes, text, sprites and images. All code is documented and there are demo examples. Tested on 5.5 inch green OLED display SPI module with 256x64 resolution using Raspberry Pi Pico W.
Sample XGLCD fonts are included in the fonts folder. Additional fonts can generated from TTF fonts using a free utility called MikroElektronika GLCD Font Creator.
There are sample images in monochrome (monoHMSB) and grayscale (GS4) format. I’ve included python apps in the utils folder to convert images in common formats such as JPEG and PNG to monoHMSB and GS4.
demo_images.py example draws monochrome and grayscale images:
Please note the horizontal bands in the pictures are due to filming issues:
demo_fonts.py example:
demo_grayscale.py example draws 16 different shades of gray:
demo_qr.py example draws a QR code which is readable by phones, tablets and webcams:
demo_shapes.py example:
There's a project on my website Rototron that utilizes the SSD1322 library. Alternatively, click the picture below for the project YouTube video: