Bitmap 16 bit color displays Readme

March 7, 2026 · View on GitHub

Functions to support drawing bitmaps

Function NameColour supportPixel size KiBNote
drawIconbi-colour array(0-127) X 8Data vertically addressed
drawBitmapbi-colour array2Data horizontally addressed
drawBitmap1616 bit color 565 image files or array32------
drawBitmap2424 bit color image files or array48Converted by software to 16-bit color
drawSprite16 bit color 565 array32Does not use a buffer , draws pixel by pixel , ignores background chosen color
  1. Bitmap Size (in KiB)= (Image Width×Image Height×Bits Per Pixel)/(8×1024)
  2. Pixel size column assumes 128 by 128 screen.
  3. The mentioned bitmap data arrays for images are created with this file data conversion tool
  4. For drawBitmap16 and DrawBitmap24 easier just to use image files direct from file system rather than arrays see examples showing BMP file usage.
  5. These class functions will return an error code in event of error, see API for more details.