Wykres commitów

1103 Commity (4848e7ba596f94d1b2a129657bbac5bb9656568c)

Autor SHA1 Wiadomość Data
Phil Howard 4848e7ba59 PicoGraphics/ST7789/ST3375: Fixup C++ examples and libraries. 2022-06-13 20:12:03 +01:00
Phil Howard f5d7f34145 ulab: Fix broken submodule. 2022-06-13 20:12:03 +01:00
Phil Howard 67f1331b23 ST7789 -> PicoGraphics
* Absorb ST7735 support into the generic ST7789 driver and rename to PicoGraphics
* Delete obsolete MicroPython modules
* Refactor PicoGraphics to inherited class for each pen type
* Refactor ST7789 and ST7735 to derive from DisplayDriver
* Allow user to set pen_type in MicroPython constructor for RGB565, RGB332, P8 and P4 modes
2022-06-13 20:11:49 +01:00
Phil Howard 1a251822f5 ST7735: Update 160x80 LCD to new PicoGraphics<PenRGB565> 2022-06-13 20:11:09 +01:00
Phil Howard cf6b6e04f4 ST7789: Simplify MicroPython bindings.
Kwargs should not be used unless there are non-required arguments with default values.

Save ~290 bytes and a bunch of noisy lines of code.
2022-06-13 20:11:09 +01:00
Phil Howard 7e4725d1cd ST7789/PicoGraphics: Templated framebuffer formats. 2022-06-13 20:11:09 +01:00
Phil Howard dbed4a463f ST7789: Minor code tidyup. 2022-06-13 20:11:09 +01:00
Phil Howard 751916e7b9 Pico Explorer: Use Motor. 2022-06-13 20:11:09 +01:00
Phil Howard 7068217ccb Fix linting error. 2022-06-13 20:11:09 +01:00
Phil Howard b66da12c1b ST7789/PicoDisplay: Update C++ examples. Rename GenericST7789 -> PicoDisplayST7789. 2022-06-13 20:11:09 +01:00
Phil Howard 65788ae6bf ST7789/PicoGraphics: Faster RGB332 mode lookups.
Replace palette search in RGB332 mode with a simple return of the RGB565 colour packed to RGB332,
since this is identical to its index in the palette.
2022-06-13 20:11:09 +01:00
Phil Howard ae22838151 Pimoroni Bus: Tidy up. Print pins. 2022-06-13 20:11:09 +01:00
Phil Howard 13f0813d8a ST7789/PicoDisplay: Collapse make_new into one using pimoroni_bus. 2022-06-13 20:11:09 +01:00
Phil Howard 38efc7de62 MicroPython: Fix pimoroni.py 2022-06-13 20:11:09 +01:00
Phil Howard cf842d559e Badger2040: Remove deprecated modules. 2022-06-13 20:11:09 +01:00
Phil Howard 9b8d215cd3 ST7789/PicoGraphics: Update C++ libs and examples. 2022-06-13 20:11:09 +01:00
Phil Howard 0264dddc2c Pico Explorer: Update examples for Motor, Buzzer, Button, ST7789. 2022-06-13 20:11:09 +01:00
Phil Howard 6ace09dbc3 Re-renable Pico Explorer and enable Pimoroni Bus 2022-06-13 20:11:09 +01:00
Phil Howard c13f53092d ST7789/PicoGraphics: Fix palette bugs, add reserve. 2022-06-13 20:11:09 +01:00
Phil Howard dbd716f78f Add Buzzer to Pimoroni module 2022-06-13 20:11:09 +01:00
Phil Howard 844a5af384 ST7789/PicoGraphics: Update some examples. 2022-06-13 20:11:09 +01:00
Phil Howard a483b2aad4 ST7789/PicoGraphics: Refactor for init & rotation. 2022-06-13 20:11:09 +01:00
Phil Howard ef6179e77d ST7789/PicoGraphics: Refactor & make modes more explicit. 2022-06-13 20:11:09 +01:00
Phil Howard 1cd58ed298 Remove debug print 2022-06-13 20:11:09 +01:00
Phil Howard 73f73a0ac5 Make colour truncation from 565 to 332 optional 2022-06-13 20:11:09 +01:00
Phil Howard 3f9f28c60b Add measure_text, fixed default palette init 2022-06-13 20:11:09 +01:00
Phil Howard 51ad7edb09 Prefer RGB332, add palette management functions 2022-06-13 20:11:09 +01:00
Phil Howard 7abe4aae7f ST7789: Experimental 8bit framebuffer. 2022-06-13 20:11:09 +01:00
Phil Howard 446db105f9 Tufty2040: JPEG Decode 2022-06-13 20:11:09 +01:00
Phil Howard b42425b000 Tufty2040: MicroPython bindings for ST7789Parallel. 2022-06-13 20:11:09 +01:00
Jonathan Williamson 7f5546f29a Tufty2040: Initial screen bringup. 2022-06-13 20:11:09 +01:00
Philip Howard 438002f569
Merge pull request #391 from pimoroni/optimize/as7262
AS7262: Optimize function types. Saves 600 bytes.
2022-06-13 20:10:24 +01:00
Phil Howard a9eb58a3ce MicroPython: Fix Class name QSTRs. 2022-06-13 20:06:39 +01:00
Phil Howard ff5d175eb2 AS7262: Optimize function types. Saves 600 bytes. 2022-06-13 19:21:21 +01:00
Philip Howard 4240ed0845
Merge pull request #390 from pimoroni/optimize/drop-mpy-print
MicroPython: Drop redundant Print. Saves 4K.
2022-06-13 19:05:44 +01:00
Philip Howard e439d9bcd1
Merge pull request #389 from pimoroni/driver/pms5003
PMS5003: Basic PMS5003 active-mode only driver.
2022-06-13 19:04:19 +01:00
Phil Howard 8d638e2744 MicroPython: Drop redundant Print. Saves 4K. 2022-06-13 18:59:51 +01:00
Phil Howard c526c3ce6e PMS5003: Basic PMS5003 active-mode only driver. 2022-06-13 18:45:58 +01:00
Philip Howard 8d329ccdd4
Merge pull request #378 from pimoroni/pcf85063a
Support for PCF85063A RTC
2022-06-13 18:41:49 +01:00
Phil Howard 8cb15d5b5c PCF85063a: Optimise functions, drop print. 2022-06-13 18:36:49 +01:00
Philip Howard 68d87d1f6e
Merge pull request #385 from pimoroni/patch-bme280
BME280: Correctly set device settings.
2022-06-10 12:10:56 +01:00
Phil Howard 496c1a3b45 BME280: Correctly set device settings. 2022-06-10 11:37:13 +01:00
Hel Gibbons b41631bc14
Merge pull request #382 from pimoroni/businessbot
Add businessbot example
2022-06-01 10:50:46 +01:00
Hel Gibbons b999b5c1e6 Linting businessbot.py 2022-05-30 17:04:10 +01:00
Hel Gibbons fe9446aea3 Linting businessbot.py 2022-05-30 17:02:27 +01:00
Hel Gibbons 3bdb313f3d Create businessbot.py 2022-05-30 16:57:32 +01:00
Philip Howard 99672e2760
Merge pull request #379 from pimoroni/patch-drop-defunct-constructors
Drop obsolete MicroPython binding compat constructors.
2022-05-30 15:34:12 +01:00
ZodiusInfuser df63655c76 Added MP support for rtc 2022-05-30 15:33:10 +01:00
ZodiusInfuser f791fa1b64 Tidied and reordered rtc class 2022-05-30 14:40:36 +01:00
Phil Howard 83b6331094 Drop obsolete MicroPython binding compat constructors. 2022-05-30 11:52:37 +01:00