This repository contains a C++ convenience library for directly manipulating the Linux Framebuffer. It was written specifically to access the 16 bit per pixel framebuffers found on the accessory LCD displays on the Raspberry Pi.
You will need to install libbsd-dev
sudo apt-get install libbsd-dev
The library itself.
A very simple test program that displays text on /dev/fd1
A program to display Raspberry Pi specific system information directly on the framebuffer.
cd raspifb16
mkdir build
cd build
cmake ..
make