Hi I tried this code (but looked at others within the waveshare github):
And you can get our latest projects and tips straight away by following us on: