Closed tomnz closed 6 years ago
Great work! my attempts to use Go didn't pan out, but I clearly need to give it another .... go...
Sorry :D
Hah... Do it! I've found the performance to be really awesome for a low powered device like the Pi Zero. Getting a good 50+ FPS out of it with an animation like the Unicorn pHAT's candle example with no optimization effort. In fact, the limiting factor seems to be the I2C IO. Working on publishing the project source soon!
Have ported all the low level device code to use periph.io for native I2C bus communication in Go. Tested working on my own pHAT (attached to Pi Zero W).
I've also started building out a higher-level wrapper struct that provides similar functionality to the Python library (auto-expanding buffer, scrolling, flipping, etc). This is still a WIP, but I feel like it's in a good enough place for more folks to use.