Commit Graph

296 Commits

Author SHA1 Message Date
Phil Howard 052dbce334 as7343: Fix channel and status order.
The astatus value was being interpreted as FZ, F2 and F1 causing bizarre
readings and all other channels to be shifted one place.

Additionally the datasheet has been updated to re-order F5, F7 and F8 to
F7, F8, F5, so these channels have been re-ordered accordingly.

Note: This will turn sensor output from confusing abject nonsense into
what looks like pretty reasonable colour data and fixes #989.
2024-09-06 09:59:59 +01:00
Phil Howard 705de7be3f mlx90640: Add hardware/clocks for set_sys_clock_khz. 2024-08-08 17:07:00 +01:00
Hel Gibbons 0868fa6dc3 AS7343: correct I2C pins 2024-06-14 17:17:42 +01:00
Hel Gibbons a8c2364fb0 AS7343: move C example to correct directory 2024-06-14 17:15:18 +01:00
thirdr 5b6903ce72 fixed background 2024-06-03 12:25:16 +01:00
Philip Howard 0b133c750e
Merge pull request #931 from pimoroni/driver/as7343
AS7343: New driver for the 14 channel spectrometer
2024-06-03 11:34:45 +01:00
Philip Howard b41bb4abf7
Merge pull request #943 from pimoroni/patch-bme280-examples
Fixed result status bug
2024-06-03 11:33:11 +01:00
thirdr b9f3990995 fixed button polarity 2024-06-03 09:11:49 +01:00
thirdr cca4f3f7f1 fixed result status bug 2024-05-31 12:38:58 +01:00
Phil Howard 6803f00b31 AS7343: New 14-channel spectral sensor driver. 2024-04-15 11:53:34 +01:00
Ray Bellis 6fd667b1ca fix hue errors in plasma_stick_rainbows 2023-12-13 21:43:01 +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
ZodiusInfuser 7aa75e57a4 Add C++ examples for Stellar, and fix init 2023-05-30 12:06:58 +01:00
ZodiusInfuser aabe789f21 Initial setup for StellarUnicorn build 2023-05-30 10:32:25 +01:00
ZodiusInfuser d00185d831 Added C & MP interrupt example 2023-05-10 16:57:38 +01:00
ZodiusInfuser 653090c89e Exposed support for GPIO pins on encoder wheel 2023-05-10 12:46:00 +01:00
ZodiusInfuser 8966cbf348 Added C++ readme 2023-05-04 14:59:01 +01:00
ZodiusInfuser 4dadeb0d4d Add c++ examples readme 2023-05-04 11:16:55 +01:00
ZodiusInfuser 9f925b5259 Ported most encoder wheel examples to C++ 2023-05-03 17:22:58 +01:00
Phil Howard f2751ba6e9 Pico Unicorn: Add support for PicoGraphics. 2023-03-16 15:02:28 +00:00
Phil Howard 3eb42336e6 Pico Unicorn: Refactor into class.
Borrow heavily from Galactic/Cosmic Unicorn for the PIO/chained-DMA setup.
2023-03-16 13:25:19 +00:00
Hel Gibbons d0e2425e07
Merge pull request #655 from pimoroni/patch/i75-userbutton
i75/i75w: Auto-detect board and set up user button.
2023-03-16 11:58:59 +00:00
Philip Howard aab8f0be35
Merge pull request #225 from pimoroni/driver/mlx90640
Driver for the mlx90640 thermal camera
2023-02-23 17:18:46 +00:00
Phil Howard c9f6dfec4f PicoGraphics: from_hsv to RGB::from_hsv. 2023-02-23 12:59:19 +00:00
Phil Howard bea90dfd60 JPEGDEC: Experimental 3bit/4bit palette no-dither. 2023-02-22 15:40:22 +00:00
Phil Howard d3a1a571d3 Inky 7.3: C++ library and JPEG example compatibility. 2023-02-22 14:34:25 +00:00
Phil Howard 2ff5d462c8 MLX90640: Driver and 32x32 LED matrix example 2023-02-22 13:06:55 +00:00
Phil Howard 8047f29ba6 Port Pico Display 2.0 Mandelbrot to PicoGraphics.
Move into Pico Display examples directory and update for PicoGraphics.
2023-02-22 12:14:50 +00:00
Martin Budden e66a2893ed Added a pico display 2.0 Mandelbrot set example.
Both pico cores are used: core0 handles the key input and updates the
display at low resolution. Core1 updates the display at high resolution.

For speed, fixed point arithmetic is used. The main loop also checks
for cyles to speed things up.

Six color palettes are provided, including 3 HSV, greyscale and black/white.
2023-02-22 11:57:13 +00:00
Gee Bartlett 8637967605 Made edits from review 2023-02-22 11:41:05 +00:00
Gee Bartlett 9bc616690e Cosmic Unicorn: MicroPython bindings.
started on MP driver

removed duplacte audio_i2s.pio

disabled GU lib options

bug fixes

bringing Picographics into line

Update picographics.cpp

fixing naming Cosmic to cosmic fixed H and W
2023-02-21 12:52:44 +00:00
lowfatcode c3672d7e3d Cosmic Unicorn: Driver and C++ examples. 2023-02-21 12:50:48 +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
Philip Howard c4decc5003
PicoGraphics: HSV Pen (#665)
Co-authored-by: Gee Bartlett <122281230+ageeandakeyboard@users.noreply.github.com>
2023-02-09 16:13:37 +00:00
Phil Howard b548d67609 C++: Don't assume PICO_DEFAULT_LED_PIN is defined. 2023-01-27 09:54:28 +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
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
Gee Bartlett 982253c416 Update gfx_demo.cpp 2022-10-28 17:57:18 +01:00
Gee Bartlett 9af1081e68 gfx c libs working 2022-10-28 17:54:37 +01:00
ZodiusInfuser 27bf5549e6 Switched colour ordering for Skully LEDs and fixed BME280 example 2022-10-21 11:32:39 +01:00
Philip Howard e928129d59
Merge pull request #537 from pimoroni/feature/galactic_unicorn
Galactic Unicorn
2022-10-19 14:08:20 +01:00
Philip Howard 3405130820
Merge pull request #536 from pimoroni/hel-plasma
Plasma Stick examples
2022-10-19 10:51:27 +01:00
ZodiusInfuser 41225090ef Added some C specific examples for Plasma Stick 2022-10-17 16:15:02 +01:00