Commit Graph

11 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
Mike Bell 5b31e018ff Possible ghosting fix for Cosmic 2023-05-10 20:09:59 +01:00
Hel Gibbons 6fc8ebd024 Cosmic: update C/C++ function reference 2023-02-27 15:09:58 +00:00
Phil Howard bbeac41785 Cosmic Unicorn: Implement RGB888 frame convert. 2023-02-21 12:52:46 +00:00
Phil Howard aa9c5b6538 Cosmic Unicorn: Add P4 and P8 support. 2023-02-21 12:52:46 +00:00
Phil Howard 72ad4dcc47 Cosmic Unicorn: Optimise buffer flip. 2023-02-21 12:52:46 +00:00
lowfatcode c3672d7e3d Cosmic Unicorn: Driver and C++ examples. 2023-02-21 12:50:48 +00:00