This repository has been archived by the owner on Jan 8, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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! |