Phil Howard
964cf5eedf
G/S/C Unicorn: Fix get_brightness to use correct max value.
...
Add a comment noting that 256 is the correct maximum brightness.
2024-03-11 21:14:43 +00:00
Mike Bell
34b8ac9f0c
Wrap pio.h includes in NO_QSTR so a fresh Micropython build doesn't fall over.
2023-09-08 18:59:25 +01:00
Pete Favelle
8a9ef39158
Added includes to allow for libraries to be linked to out-of-tree
2023-08-31 10:05:08 +01:00
Phil Howard
70a1b26041
ADC: Avoid re-initialising ADC.
...
Only init the ADC if it's not already running.
In MicroPython this could trounce an already initialised and configured ADC,
and would disable the temperature sensor if it had been enabled by a user
before initialising any of the affected libraries.
2023-06-04 21:46:23 +01:00
Phil Howard
bff6bd023e
Unicorn: Move gamma LUTs to pimoroni_common.
2023-06-04 21:46:12 +01:00
Phil Howard
5f3f14e5ce
Galactic Unicorn: Add support for P4 and P8 pen modes.
2023-02-27 20:00:17 +00:00
Mike Bell
3371b6c751
Select new row earlier to avoid lighting pixel on previous row very slightly
2023-02-10 10:36:56 +00:00
Pete Favelle
d84d9f4520
Added PEN_RGB332 support
2023-01-31 12:57:35 +00:00
Pete Favelle
875119da70
Adjust PicoSynth volume when setting it in the Galactic Unicorn API
2022-12-08 17:07:07 +00:00
ZodiusInfuser
d11c73d45e
Updated GU readme
2022-11-04 10:57:37 +00:00
lowfatcode
b0e194b2b1
Added Galactic Unicorn function reference and example
2022-11-02 07:35:37 +00:00
ZodiusInfuser
52a107e6d6
Switched GU over to chained DMA to remove interrupt use
2022-10-13 13:28:59 +01:00
ZodiusInfuser
53dfb9866d
Started splitting out synth into separate channel objects
2022-10-13 13:26:57 +01:00
ZodiusInfuser
882f76dcbc
More work on GU synth
2022-10-13 13:26:57 +01:00
ZodiusInfuser
deec835692
First addition of synth to GU
2022-10-13 13:26:57 +01:00
ZodiusInfuser
12ea527f44
Audio performance improvements and bugfixes
2022-10-13 13:26:57 +01:00
ZodiusInfuser
f809db6434
Added play_tone support to GU C++ and MP
2022-10-13 13:26:57 +01:00
ZodiusInfuser
e08ddd9837
Exposed audio to MP, and made it teardown cleanly
2022-10-13 13:26:57 +01:00
ZodiusInfuser
4551c991fb
Re-added audio PIO and made it's restart cleaner
2022-10-13 13:26:57 +01:00
ZodiusInfuser
b2e4e16fab
Cleanup of GU and fix for flashes on MP soft reset
2022-10-13 13:26:57 +01:00
ZodiusInfuser
739ca71f69
Added partial tear down
2022-10-13 13:26:57 +01:00
ZodiusInfuser
bb91d9e75b
WIP improvements to GU hardware reuse (temp disabled audio)
2022-10-13 13:26:57 +01:00
ZodiusInfuser
b35ed5d5ba
Moved MP examples over to PicoGraphics
2022-10-13 13:26:57 +01:00
ZodiusInfuser
82b5110691
Fixed colour order and added working MP examples
2022-10-13 13:26:57 +01:00
ZodiusInfuser
a25699c73d
Initial setup og GU Micropython
2022-10-13 13:25:26 +01:00
jon
5ea389c12a
Added support for new RGB888 pen type
2022-10-13 13:25:26 +01:00
jon
678be33b53
Update to use new RGB888 pen type
2022-10-13 13:25:26 +01:00
jon
f2c3d15b8e
Galactic Unicorn: Playing basic audio samples now works, added rainbow example for photoshoot
2022-10-13 13:25:18 +01:00
jon
eaaed2e862
Galactic Unicorn: Examples + features.
2022-10-13 13:24:08 +01:00
jon
5fdd08438f
stuff
2022-10-13 13:22:21 +01:00
jon
a3d3707284
more stuff
2022-10-13 13:22:21 +01:00
jon
09846ab221
Galactic Unicorn: Initial C++ experimentaion.
2022-10-13 13:21:22 +01:00
jon
a322c400f0
Added support for new RGB888 pen type
2022-10-13 13:19:50 +01:00
jon
c91c5d6bf4
Update to use new RGB888 pen type
2022-10-13 13:19:50 +01:00
jon
a486150470
Playing basic audio samples now works, added rainbow example for photoshoot
2022-10-13 13:19:50 +01:00
jon
63183d28be
Lots of features added
2022-10-13 13:19:50 +01:00
jon
e50827c412
stuff
2022-10-13 13:19:50 +01:00
jon
210b334fff
more stuff
2022-10-13 13:19:50 +01:00
jon
54ad59c77a
Rebasing Galactic Unicorn branch to main
2022-10-13 13:19:50 +01:00