pimoroni / unicorn-hat

Python library for Unicorn pHAT and HAT. 32 or 64 blinding ws2812 pixels for your Raspberry Pi
https://shop.pimoroni.com/products/unicorn-hat
MIT License
370 stars 131 forks source link

Added binary clock example. #114

Closed ardek66 closed 6 years ago

ardek66 commented 6 years ago

I made a binary clock and I thought it would be nice to have it as an example.

Gadgetoid commented 6 years ago

Runs great! Thank you. I have a few suggestions I'll add as a code review.

ardek66 commented 6 years ago

Done!

Pyroseza commented 6 years ago

I’ve created a new pull request for my own version of the binary clock example, I’ve even included an alarm feature

Gadgetoid commented 6 years ago

For future reference, I'd rather have finished this PR first as a learning experience for @IDF31, but since @Pyroseza has implemented the requested changes and improved upon the code, while keeping credit in place I'll have to close this PR and switch over to: https://github.com/pimoroni/unicorn-hat/pull/115