From e04a10e9bc5e7c2d505c0aaa8c8bb510398e32c9 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Sat, 11 Oct 2014 11:55:48 +0100 Subject: [PATCH] Updated READMEs --- README.md | 6 +++--- python/examples/README.md | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 python/examples/README.md diff --git a/README.md b/README.md index adf1934..3331602 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -UnicornHat + WS2812 Python Modules & Examples -============================================= +Unicorn Hat + WS2812 Python Modules & Examples +============================================== Here you'll find everything you need to start lighting up your UnicornHat in python. @@ -7,7 +7,7 @@ Python users should probably ignore most of this repository and just: pip install UnicornHat -Then process to python/examples. +Then proceed to python/examples. RaspberryPi-NeoPixel-WS2812 diff --git a/python/examples/README.md b/python/examples/README.md new file mode 100644 index 0000000..151a87f --- /dev/null +++ b/python/examples/README.md @@ -0,0 +1,26 @@ +Unicorn Hat Examples +==================== + +simple.py +--------- + +Sets each pixel in turn and updates the display. + +rainbow.py +---------- + +Demonstrates the use of colorsys to animate through colour hues. + +show_png.py +----------- + +Shows how you can open and display a PNG image file, great for sprite animations. + +** Requirements: ** + + sudo pip install pillow + +clock.py +-------- + +Uses graphics.py and shows how you can, but probably shouldn't, display an analogue clock on Unicorn Hat! \ No newline at end of file