Commit Graph

1378 Commits

Author SHA1 Message Date
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
Hel Gibbons a27a539a1f
Merge pull request #532 from pimoroni/hel-automation-mini
Automation Mini tidyup
2022-10-06 16:09:41 +01:00
helgibbons 86b1cd40dc Update readmes 2022-10-06 15:54:50 +01:00
helgibbons 262bd673ed Add Automation 2040 W Mini init to examples 2022-10-06 15:54:16 +01:00
helgibbons 3fa620db10 Fix error in automation.py 2022-10-06 15:52:48 +01:00
Gee Bartlett 28b6698430
Automation 2040w MicroPython PWM (#489)
Co-authored-by: ZodiusInfuser <christopher.parrott2@gmail.com>
2022-10-06 12:27:46 +01:00
Philip Howard 8280a6a720
Merge pull request #491 from adriangalilea/main
Add adjust_to_sea_pressure function
2022-10-06 12:13:24 +01:00
Philip Howard 9878e4bff7
Merge pull request #528 from pimoroni/patch-plasma-alloc
Plasma: Use m_new to alloc buffer on gc_heap if not supplied.
2022-10-06 12:12:34 +01:00
Philip Howard 1ac55c49ea
Merge pull request #527 from pimoroni/driver/inky-frame-4.0
Support for Inky Frame 4.0"
2022-10-06 12:09:17 +01:00
Philip Howard 32ae781186
Merge pull request #520 from gauntface/patch-1
Correct common path
2022-10-05 15:45:32 +01:00
Philip Howard c3f3d7fa35
Merge pull request #525 from PeterCopeland/patch-1
Move set_brightness to APA102
2022-10-05 15:37:48 +01:00
Phil Howard 00ca53a30b Inky Frame: Update C++ library to support 4.0" 2022-10-05 09:57:16 +01:00
Phil Howard eaf9fcdf93 Plasma: Use m_new to alloc buffer on gc_heap if not supplied.
When no buffer was supplied it would fall upon the class to call "new" and allocate within C/C++'s (very small) heap.

Ensure a MicroPython managed buffer (allocated from gc_heap) is always supplied to the APA102/WS2812 classes.
2022-10-04 11:39:56 +01:00
Phil Howard 9663be2787 Inky Frame: New button test, old is now button demo. 2022-10-03 14:37:02 +01:00
Phil Howard 9424ae7081 Inky Frame: Improve LED PWM example to test all LEDs. 2022-10-03 14:35:42 +01:00
Phil Howard 14fec0406d Inky Frame: Update examples to support 4.0". 2022-10-03 14:35:27 +01:00
Hel Gibbons 92ff903d1d
Merge pull request #526 from pimoroni/helgibbons-patch-1
Update README.md
2022-10-03 09:18:24 +01:00
Hel Gibbons 6393e74f86
Update README.md 2022-10-03 09:10:59 +01:00
Peter Copeland 8cc6e85f98
Move set_brightness to APA102
Documentation for set_brightness function was under WS2812 but text referred to APA102, and set_brightness is not supported on WS2812. I've moved the paragraph to the end of the APA102, verbatim.
2022-10-02 23:43:12 +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
Phil Howard c1816ae9d6 PicoGraphics: MicroPython support for Inky Frame 4.0 2022-09-29 14:04:56 +01:00
Matt Gaunt-Seo 4a645a1a68
Correct common path 2022-09-25 19:07:05 -07:00
Hel Gibbons fb8cde305d
Merge pull request #517 from pimoroni/helgibbons-patch-1
Add link to common files
2022-09-21 15:15:35 +01:00
Hel Gibbons d6d1e00307
Add link to common files 2022-09-21 15:02:13 +01:00
Philip Howard 3868e42b66
Merge pull request #506 from TimAidley/feature/progress-pride-flag
Add Progress Pride flag to pride badge example.
2022-09-21 11:46:08 +01:00
Philip Howard ad3cc3560a
Merge pull request #516 from pimoroni/mike/fix-scanline-convert
PicoGraphics: Fix a bug that broke #422
2022-09-21 11:44:43 +01:00
Philip Howard 92c8a650c5
Merge pull request #422 from MichaelBell/fix-scanline-convert
Pico Graphics: Double buffer scanline conversion
2022-09-21 11:37:13 +01:00
Phil Howard fc3060b640 PicoGraphics: Simplify RGB565 frame convert.
Rewrite RGB565 frame convert to iterate over pixels by index, and transfer the buffer when it fills.

Avoid using a bitmask so BUF_LEN can be arbitrary.
2022-09-21 11:32:19 +01:00
Phil Howard bb9b5b69d3 PicoGraphics: Fix byte alignment bug in Pen P4.
Fix byte alignment to use the pixel index, rather than just the x-coordinate.

Prevent new rows from being erroneously byte-aligned in displays without an even width (eg: Pico Display portrait).
2022-09-21 11:26:58 +01:00
Philip Howard 675de25985
Merge pull request #514 from dreambucket13/main
set pen for text to 15 for better visibility
2022-09-21 09:18:45 +01:00
Mike Bell 799ed0786d Use DMA for SPI frame buffer too 2022-09-17 20:16:57 +01:00
dreambucket13 f427a74d55 set pen for text to 15 for better visibility 2022-09-16 15:17:25 -04:00
Philip Howard c00fee673e
Merge pull request #498 from pimoroni/purge-picoexplorer
Remove `picoexplorer` references
2022-09-07 10:00:13 +01:00
Tim Aidley 213e47ffd7 Fixed chevron size mismatch.
I decided I wanted the first chevron a little smaller, and realized I had the sign of the chevron height value reversed. The initial white triangle is now a bit smaller, and the chevron stripes slightly wider.
2022-09-06 20:13:16 -07:00
Tim Aidley 6292d33cdb Fixes to align with flake8 style 2022-09-06 20:08:12 -07:00
Tim Aidley f1aee84ef1 Add Progress Pride flag to pride badge example.
Adds the chevrons from the progress pride flag as an option on the Tufty pride flag example.
2022-09-01 08:22:17 -07:00
helgibbons dd872f5102 fix typo 2022-08-25 17:12:51 +01:00
helgibbons b8110f3905 Update LiPo examples to use PicoGraphics 2022-08-25 17:11:13 +01:00
helgibbons 2cbd710620 Remove references to old picoexplorer module 2022-08-25 16:10:32 +01:00
Mike Bell 7f330d1a04 Pico Graphics: Use fixed size buffer for frame conversion 2022-08-23 23:07:13 +01:00
Mike Bell f341c15fa7 Pico Graphics: Double buffer scanline conversion 2022-08-23 21:48:26 +01:00
Philip Howard 05ef0d7f03
Merge pull request #492 from pimoroni/feature/jpegdec-nodither
JPEGDEC: Add option to disable dither on RGB332.
2022-08-22 11:00:01 +01:00
Philip Howard b8100d22e8
Merge pull request #487 from MichaelBell/tufty-overclock
ST7789 Parallel: Work with SYS clock faster than default
2022-08-11 13:07:51 +01:00
Phil Howard fddac54f86 JPEGDEC: Add option to disable dither on RGB332. 2022-08-11 11:46:45 +01:00
Philip Howard 4e005c03d1
Merge pull request #480 from pimoroni/feature/wakeup
MicroPython: Early wakeup GPIO latch module.
2022-08-10 12:45:55 +01:00
btmask 3cfac2787b Add adjust_to_sea_pressure function
Now describe_pressure() gives meaningful insights if you set the altitude
2022-08-09 23:52:51 +02:00
Phil Howard 42a29dbe7b Wakeup: Port to Badger 2040. 2022-08-08 12:05:55 +01:00