kopia lustrzana https://github.com/pimoroni/pimoroni-pico
15bdeebb71 | ||
---|---|---|
.. | ||
README.md | ||
bored_api.py | ||
button_test.py | ||
clock.py | ||
placekitten.py | ||
quote_of_the_day.py | ||
show_ip_address |
README.md
Pico Inky Pack MicroPython Examples
PicoGraphics
You can draw on Inky Pack's display using our tiny PicoGraphics display library.
Non-Wireless Examples
Button Test
Shows a simple way of reading the buttons and drawing on the screen.
Clock
Demonstrates a fast update speed.
Wireless Examples
The wireless examples need network_manager.py
and WIFI_CONFIG.py
from the common
directory to be saved to your Pico W. Open up WIFI_CONFIG.py
in Thonny to add your wifi details (and save it when you're done).
You'll also need to install the micropython-urllib.urequest
library using Thonny's 'Tools' > 'Manage Packages'.
Bored API
Simple demo to get a random activity from BoredAPI.com
Place Kitten
Grab a random image from PlaceKitten.com and display it on Inky Pack.
Quote of the Day
Grab the quote of the day from Wikipedia.