Ported adafruit library to c for use with atmega328p as an lcd backpack