Commit Graph

8 Commits

Author SHA1 Message Date
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
ZodiusInfuser 7aa75e57a4 Add C++ examples for Stellar, and fix init 2023-05-30 12:06:58 +01:00
ZodiusInfuser 68f610184f Possible fix for stellar pio? 2023-05-30 11:16:51 +01:00
ZodiusInfuser aabe789f21 Initial setup for StellarUnicorn build 2023-05-30 10:32:25 +01:00