Well after popular demand (lol two people…)! I’ve revisited some EXTREMELY old code and got it working for my ILI9163 LCD, its not pretty, its code I’ve not used in a LONG time and probably won’t use for a long while more but as far as I know, the driver is pretty sound. Its uncommented and is in pretty poor condition but I’ve not got as much time to invest as I would’ve liked to have had. If I get the chance in the future, I’ll improve on this!
The graphics library used for this example is a little weird as it uses structs to pass to the graphics functions, this makes printing lots of the same thing less typing and easier to change as a whole white other things are a bit less easy to change. Regardless, it was just a test to see how much better a structure based library would be for this kind of application.
The code is on my Github!