Commit Graph

1120 Commits

Author SHA1 Message Date
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
Jonathan Williamson 755da537dd fixed bug in set_timer() 2022-05-30 09:59:29 +01:00
Jonathan Williamson 4a5df45573 finishing rtc driver and demo 2022-05-30 09:59:29 +01:00
Jonathan Williamson 48c502c3a1 initial rtc driver and example 2022-05-30 09:59:29 +01:00
Philip Howard 7db6d62515
Merge pull request #375 from pimoroni/experimental/build-tweaks
Customise MicroPython C++ modules per board to avoid blowing 640K binary limit on 2MB Pico boards
2022-05-27 11:56:57 +01:00
Phil Howard 805e3a81d5 CI: Drop Blinka build 2022-05-27 11:41:17 +01:00
Phil Howard a860b0fba8 ulab: bump to 4.0.0 2022-05-27 11:32:55 +01:00
Phil Howard 9a494828bc CI: Customised MPY modules per-board 2022-05-27 11:32:52 +01:00
Philip Howard 6b992603f3
Merge pull request #376 from pimoroni/patch-pico-display-demos
Pico Display & Pico Display 2 Demos: Avoid passing buffer into bool parameter
2022-05-27 11:30:54 +01:00
Philip Howard f05ae9b017
Merge pull request #374 from pimoroni/library/adcfft
ADCFFT: Use util.hpp
2022-05-27 11:27:58 +01:00
Phil Howard 634160a731 Avoid passing buffer into bool parameter 2022-05-27 11:22:47 +01:00
Phil Howard 5c92ac3762 ADCFFT: Use util.hpp 2022-05-27 11:04:13 +01:00
Philip Howard 1798ded696
Merge pull request #371 from pimoroni/library/adcfft
ADC FFT library & MicroPython Bindings
2022-05-23 16:26:12 +01:00
Phil Howard f7c42e90a8 ADC FFT library & MicroPython Bindings 2022-05-23 16:12:22 +01:00
Philip Howard c83a94cc28
Merge pull request #365 from pimoroni/patch-placement-new
MicroPython: Use placement new to alloc classes on GC_HEAP
2022-05-23 16:11:59 +01:00
Philip Howard d1fb237a31
Merge pull request #358 from pimoroni/helgibbons-readme-updating
Add Motor SHIM for Pico link to readme
2022-05-23 16:11:36 +01:00
Philip Howard 02f800beb3
Merge pull request #366 from Daft-Freak/patch-1
Improve PIMORONI_PICO_PATH fallback
2022-05-23 16:10:06 +01:00
Phil Howard bc0390b86c MicroPython: Use placement new to alloc classes on GC_HEAP 2022-05-23 15:34:49 +01:00
Philip Howard 8d490a6e7c
Merge pull request #370 from Daft-Freak/patch-2
Small pico unicorn cleanups
2022-05-23 14:53:45 +01:00
Philip Howard d6571210a8
Merge pull request #369 from pimoroni/patch-st7789-bugs
ST7789: Add fixes from #344
2022-05-23 14:25:19 +01:00
Charlie Birks 8be98da0e5
Use float pow for pico unicorn gamma
Looks like that was intended based on the float cast and all the f suffixes...
2022-05-23 14:09:50 +01:00
Charlie Birks a4f91a93ee
Replace int pow(2, x) in pico unicorn
Using double pow here seems a bit inefficient (even if it's init code)
2022-05-23 14:07:31 +01:00
Charlie Birks b9a8c0a536
Make global variables static in pico unicorn 2022-05-23 14:04:00 +01:00
Phil Howard 0b73535ac1 ST7789: Add fixes from #344
Fix line and triangle primitives.

Rename any "x1, y1" kwargs to just "x, y" if no subsequent coordinates accepted.
2022-05-23 13:54:44 +01:00
Charlie Birks 54551c3f94
Improve PIMORONI_PICO_PATH fallback
Check for pimoroni-pico next to the pico sdk, then next to the project. If neither exist, fail with an error that tells the user to set PIMORONI_PICO_PATH.
2022-05-21 12:05:49 +01:00
Philip Howard db60553322
Merge pull request #327 from pimoroni/feature/merged-st7789
ST7789: Create generic display driver
2022-05-18 13:37:56 +01:00
Philip Howard b41b52e262
Merge pull request #361 from pimoroni/patch-micropython-i2c-compat
MicroPython: Make Pimoroni I2C compatible with machine.I2C
2022-05-18 13:34:55 +01:00
Phil Howard 1feefde00c MicroPython: Promote machine.I2C() to PimoroniI2C.
Create a new PimoroniI2C object internally if a "machine.I2C()" object is supplied in constructors.
2022-05-18 13:20:33 +01:00
Phil Howard 7d3b48c509 MicroPython: Make Pimoroni I2C compatible with machine.I2C 2022-05-18 13:15:12 +01:00
Philip Howard 698dd4d2c7
Merge pull request #360 from pimoroni/patch-vl53l5cx-firmware-sideload
Sideload vl53l5cx firmware to avoid bloating MicroPython binary
2022-05-18 13:13:37 +01:00
Philip Howard bfee7c55d7
Merge pull request #363 from pimoroni/patch-servo-cluster
Fix for broken asserts in ServoCluster
2022-05-18 13:13:02 +01:00
ZodiusInfuser dbb4b9d3fd Fix for broken asserts in ServoCluster 2022-05-18 12:41:39 +01:00
Phil Howard 8a68015eac ST7789: Update README.md 2022-05-18 11:55:02 +01:00
Phil Howard c2256c481b VL53L5CX: Autoload firmware in MicroPython bindings. 2022-05-17 14:05:32 +01:00