Check this out: https://github.com/vvaltchev/tfblib
It worked well for a hobby project. I had issues on certain specific displays I think due to the color depth requirement.