pimoroni / scroll-phat-hd

Python library for Scroll pHAT HD
https://shop.pimoroni.com/products/scroll-phat-hd
MIT License
159 stars 64 forks source link

Include link to Go lib in README #44

Closed tomnz closed 6 years ago

tomnz commented 6 years ago

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.

Gadgetoid commented 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

tomnz commented 6 years ago

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!