Wykres commitów

346 Commity (25237c54ce465279134fe429e4c11ffe5cb01cfd)

Autor SHA1 Wiadomość Data
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 652de85f4d Tufty 2040: RGB565 DMA display update.
Use DMA to transfer a native RGB565 display buffer to PIO rather than pushing into the TX FIFO in a loop.

Co-authored by @zx64 - https://github.com/pimoroni/pimoroni-pico/issues/776
2023-05-12 13:38:19 +01:00
Philip Howard 8648196cc2
Merge pull request #774 from pimoroni/breakout_encoder_wheel
Support for RGB Encoder Wheel Breakout
2023-05-12 11:58:15 +01:00
ZodiusInfuser 12e38c1157 Implemented GPIO MP support for Encoder wheel 2023-05-10 14:54:32 +01:00
ZodiusInfuser 653090c89e Exposed support for GPIO pins on encoder wheel 2023-05-10 12:46:00 +01:00
Ray Bellis bfb6490ec8 fix dangling pointer error 2023-05-08 13:19:47 +01:00
Ray Bellis 32dfdc6a20 use __builtin_bswap32 2023-05-08 13:17:51 +01:00
Niko Kotilainen 1dcad21ed2 Pico Display Pack: Display init fixes. 2023-05-04 15:07:27 +01:00
ZodiusInfuser e3f9f14dcf Fix ioe reset timing out too early, and encoder reversed 2023-05-03 12:34:59 +01:00
ZodiusInfuser 1cfae8b5f8 More work on encoder wheel C++, adding reset to ioe 2023-05-02 22:55:19 +01:00
ZodiusInfuser 7c11593f7c Fix for IOExpander address not getting changed 2023-05-02 10:22:14 +01:00
Phil Howard 07bc005958 LTR559: Refactor std::vector lookup to template. 2023-03-27 15:11:30 +01:00
Phil Howard cc5a2bdb6f Dot Matrix: Replace std::map to avoid excessive init heap usage. 2023-03-27 15:11:30 +01:00
Phil Howard af2b74d65d Servo/Motor/PWM: Avoid runtime memory alloc. 2023-03-16 13:25:19 +00:00
Phil Howard a0ab44067f BMP280: Avoid runtime memory allocation. 2023-03-16 13:25:19 +00:00
Phil Howard bcebccca1d BME68X: Avoid runtime memory allocation. 2023-03-16 13:25:19 +00:00
Phil Howard 59ae107982 BME280: Avoid runtime memory allocation. 2023-03-16 13:25:19 +00:00
Phil Howard cb39d5c0f3 PCF85063A: Remove static keyword.
The use of "static" in `set_datetime` meant that "data" was only getting set to the correct values *once.*
2023-03-02 15:38:08 +00:00
Phil Howard 8ff40fae6e MLX90640: MicroPython module. 2023-02-23 16:52:59 +00:00
Phil Howard 2ff5d462c8 MLX90640: Driver and 32x32 LED matrix example 2023-02-22 13:06:55 +00:00
Phil Howard 1659139c97 Inky 7.3: Rename class. 2023-02-20 12:29:59 +00:00
Phil Howard 43382ba2c0 Inky 7.3: Add ShiftRegister driver. 2023-02-20 12:29:59 +00:00
Phil Howard 93979cb735 Inky 7.3: Rename driver to inky73. 2023-02-20 12:29:59 +00:00
AndrewCapon 0067b101a0 Inky 7.3: Direct pen & PSRAM update. 2023-02-20 12:29:52 +00:00
Phil Howard 21b4ff68d7 Change __bswap16 to __builtin_bswap16. 2023-02-10 22:12:02 +00:00
ZodiusInfuser cacfbd174b Previous idea did not work, so now checking color order for every pixel set 2023-01-31 14:07:14 +00:00
ZodiusInfuser 1343f23316 Attempt at adding color order support to Hub75 2023-01-31 13:00:22 +00:00
Gee Bartlett 104c819412
Hub75: Update to use Picographics (#601)
* have a basic pg working needs optimizing

* working well ported some examples from GU

* started on micropython module

* Fixes to get new Hub75 compiling in MP

* stripped down for faster compilling

* Update hub75.cmake

* added hub75 to galatic and eviro as it is needed for picographics

* Update picographics.c

* added hu75 update

* added _ModPicoGraphics_obj_t

* Update hub75.cpp

* update bindings

* some examples needs linting

* added other panel sizes and linted

* Update picographics.cpp

* Update picographics.c

* fixing gc memory allocation

* Update hub75.cpp

* Update interstate75_balls_demo.cpp

* review

* broke

* working with built in panel defs

* still borked

* not much change needs review

* Update hub75.cpp

* reverted alot of things

* adding i75 lib

* lots of updates ready to test compile mp

* Update picographics.h

* little tweaks

* an inability to count fixed!

* fixed some readme's

* lots of tiding

* fixed linting and removed experimental code

* Minor formatting

* Minor formatting and cmake tidy

* Removed unneeded parts of examples

* Final tidy

* tidy examples and adding more

* updated to new library

* documentation tweaks

* fixed inclusion of interstate75 module

* syncing some stuff

* fixed linting

Co-authored-by: ZodiusInfuser <christopher.parrott2@gmail.com>
2022-12-16 20:53:16 +00:00
Hel Gibbons be1c39e80c
Merge pull request #555 from MichaelBell/fix-ltp305-brightness
Fix setting the LTP305 brightness
2022-11-08 11:26:45 +00:00
Gee Bartlett 4f4b0b277c updated readme's 2022-11-07 18:07:48 +00:00
ZodiusInfuser 678b8d7cf9 Review of GfxPack code 2022-11-07 12:50:50 +00:00
Gee Bartlett 7be5376abf some small fixes for easier merging later 2022-11-02 20:58:20 +00:00
Gee Bartlett 952be145ec Merge branch 'main' into driver/st7567 2022-11-02 20:50:18 +00:00
Gee Bartlett 79eb998183 adjustments prior to micropython 2022-11-02 20:43:07 +00:00
Gee Bartlett e85367a961 started mp 2022-10-31 13:44:23 +00:00
Mike Bell b0d7f4c611 Fix setting the LTP305 brightness 2022-10-30 20:29:22 +00:00
Gee Bartlett 9af1081e68 gfx c libs working 2022-10-28 17:54:37 +01:00
Gee Bartlett 54018afde3 small tweeks 2022-10-12 13:10:12 +01:00
Gee Bartlett d03c00383a driver working for PG1Bit mode 2022-10-12 11:07:17 +01:00
Gee Bartlett 0e5e7feb7d page 0 working 2022-10-12 09:13:38 +01:00
Gee Bartlett fa04fef4f0 Update st7567.cpp 2022-10-10 14:33:28 +01:00
Gee Bartlett 337cd390d4 wip 2022-10-10 14:12:45 +01:00
Gee Bartlett 2f7afad12d Update st7567.cpp
still trying to get this working properly
2022-10-06 12:28:22 +01:00
Gee Bartlett 8f645257c3 display running but data corrupt 2022-10-05 14:26:17 +01:00
Phil Howard 6aa1bbd271 UC8159: 0/180 degree rotation support. 2022-09-30 21:04:22 +01:00
Phil Howard 7f02501fa6 UC8159: Alternate resolution support. 2022-09-30 15:18:01 +01:00
Gee Bartlett 7b5946ef48 all complies needs testing against finished unit 2022-09-29 15:48:33 +01:00
Gee Bartlett c48f81bc90 started on converting pico display demo 2022-09-29 12:01:35 +01:00
Gee Bartlett 3f24b442f1 inital work needs testing 2022-09-29 10:21:14 +01:00