Phil Howard
3c66b2bc69
Fix use of private variable in round LCD demo
...
Fixes #116
2021-04-05 11:05:33 +01:00
Phil Howard
b78f42b7d9
Add README for Pico Audio extras setup
2021-03-31 17:18:48 +01:00
Phil Howard
082d41a384
Sine waves are boring, MUSIC!
2021-03-31 17:18:41 +01:00
Phil Howard
3539762f34
Add Pico Audio Pack example
2021-03-31 13:44:33 +01:00
ZodiusInfuser
0866ade054
Created dedicated library class for round LCD breakout
2021-03-30 13:51:00 +01:00
Phil Howard
270adbcfbf
Change ST7789 demo to round_demo
2021-03-29 14:26:43 +01:00
Phil Howard
879bb673f5
Drop £ from text demo
...
£ is not an ASCII character and resulted in out of range mystery memory garbage being displayed.
2021-03-29 13:33:48 +01:00
Phil Howard
c1619de404
Update text demo to demo more chars
2021-03-29 13:33:48 +01:00
Phil Howard
31b244a43d
Use both fonts simultaneously in text demo
2021-03-29 13:33:48 +01:00
Phil Howard
276528c119
Make font settable by user at runtime
...
This allows fonts to be hot-swapped out by calling `set_font`
Unfortunately the way fonts are currently stored limits the maximum height to 8 pixels, since that's the size of a uint8_t and the y dimension is bitwise encoded.
The width can be arbitrary, by specifying the widths and max_width (the multiplier for number of bytes per char).
Might be worth grabbing some more bits from 32blit to make this not terrible, but now a user-defined font is an .hpp and a `set_font` away.
2021-03-29 13:33:43 +01:00
Phil Howard
67b11826b7
Example/test for ST7789 displays
2021-03-29 13:18:31 +01:00
Philip Howard
292e2b52af
Merge pull request #68 from pimoroni/driver-vl53l1x
...
Pico driver for vl53l1x Time of Flight breakout
2021-02-23 15:15:51 +00:00
James Sutton
8383621901
Explorer tga order fix ( #65 )
...
* Fixing TGA rendering order from RGB to GBR: http://www.paulbourke.net/dataformats/tga/
Signed-off-by: James Sutton <1068763+jpwsutton@users.noreply.github.com>
2021-02-23 15:15:01 +00:00
Phil Howard
25a8c5b8eb
Tweak and clean up TOF demo
...
* Switch to using AutoRepeat class to debounce buttons
* Read TOF sensor non-blocking to avoid stalling input
* Drop dead code
* Make mode_to_text const
* "Hold" text shows red when held
2021-02-23 11:17:14 +00:00
Simon Reap
0166208a52
Pico driver for vl53l1x Time of Flight breakout
2021-02-22 22:02:23 +00:00
Simon Reap
fab47350f4
Select Explorer/Display add-ons with #define
2021-02-08 16:40:02 +00:00
Simon Reap
f4c059c7c1
Smaller running counter display in example)
2021-02-08 16:15:53 +00:00
Simon Reap
990ce09b4c
With repeat on +/- time keys for timer
2021-02-08 16:15:52 +00:00
Simon Reap
456b9309bd
RV3028 RTC Driver and example for Raspberry Pico
2021-02-03 14:20:31 +00:00
Tim Kerby
b3b8551af2
Pico Unicorn Plasma
...
Added plasma example for Unicorn display
2021-01-26 21:44:58 +00:00
Philip Howard
7d4ca4a86b
Graphics Enhancements ( #8 )
...
* typedef pen and constexpr create_pen for #6
* Prevent out of bounds clip permitting write outside buffer
* camelcase rect, point, and pen types
* added triangle(p1, p2, p3) and polygon(std::vector<Point> points) methods to graphics library
* change all uses of pen that were uint16_t into Pen type
* updated micropython modules to use new rect, point, pen naming
* added line(p1, p2) method to pico graphics library with faster vertical/horizontal special cases
Co-authored-by: Jonathan Williamson <jon@pimoroni.com>
2021-01-23 23:41:09 +00:00
ZodiusInfuser
1b2d2faad5
Added mpy wrapper for pico_explorer
2021-01-21 00:52:33 +00:00
ZodiusInfuser
5f4fed5a27
Swiched picodisplay demo over to creating local frame buffer
2021-01-20 23:35:33 +00:00
ZodiusInfuser
75560ea038
Added outline of an mpy wrapper for pico_display
2021-01-20 15:59:48 +00:00
ZodiusInfuser
7103377575
Added c++ code and mpy wrapper for pico_rgb_keypad, with examples
2021-01-19 18:40:51 +00:00
Jonathan Williamson
9b18941988
button test
2021-01-19 07:10:26 +00:00
Jonathan Williamson
ded4087db4
perform updates via repeated dma transfer instead of blocking writes to the pio fifo
2021-01-19 07:09:58 +00:00
Jonathan Williamson
944355f060
updated demos/test, added clear() method to unicorn
2021-01-18 08:59:13 +00:00
Jonathan Williamson
8345197a83
add support for clipping rectangles to graphics libary, add point and rect types
2021-01-18 07:58:19 +00:00
Jonathan Williamson
5a7125f803
added copy step for embedded resources to limit symbol name length. wrapped add resource functionality into a cmake function for easy use.
2021-01-17 16:59:58 +00:00
Jonathan Williamson
fb5a26d4ac
remove unnecessary path qualifiers on output files
2021-01-17 16:31:23 +00:00
Jonathan Williamson
6911719183
example driver for MSA301, ability to embed an image into binary and draw it on screen
2021-01-17 16:05:28 +00:00
Jonathan Williamson
b659709f5a
Added audio tone and motor functions to PicoExplorer library and demo
2021-01-17 09:18:58 +00:00
Jonathan Williamson
96d702ef9a
PicoExplorer library and example, basic text support for PicoGraphics
2021-01-17 07:41:25 +00:00
Jonathan Williamson
cf92a8c113
Fix example speed
2021-01-16 16:41:44 +00:00
Jonathan Williamson
447eca6bb3
pico scroll library and example
2021-01-16 16:38:58 +00:00
Jonathan Williamson
97706e86df
moved examples into their own directory, moved pico support code into libraries directory, fixed cmake configuration
2021-01-16 16:00:15 +00:00