I started with that Waveshare code to create my code. Much of the structure and code is the same, just cleaned up with better class organization and added features. I don't have any documentation ...