Commit Graph

1120 Commits

Author SHA1 Message Date
Phil Howard aeceefea59 VL53L5CX: Sideload firmware from user-supplied .bin 2022-05-17 12:33:07 +01:00
Phil Howard 872adb6d52 Switch to no-firmware VL53L5CX branch 2022-05-17 10:58:01 +01:00
Hel Gibbons 28266b3e32
Add Motor SHIM for Pico link to readme 2022-05-16 15:22:01 +01:00
Philip Howard 22ab2b232a
Merge pull request #355 from pimoroni/patch-pico-explorer-examples
Use I2C pins constants for #351
2022-05-16 10:37:30 +01:00
Philip Howard cbf1aba919
Merge pull request #352 from pimoroni/motor-and-encoder
Added support for motors and encoders
2022-05-16 10:24:16 +01:00
ZodiusInfuser 717ad908cb Optimized some encoder functions 2022-05-12 23:57:22 +01:00
ZodiusInfuser 51d08bebd9 Optimized most motor functions 2022-05-12 23:49:31 +01:00
Phil Howard 8e1e9df002 ST7789: Refactor and Bugfixes
* Make ST7789 accept only full config with SPI pins
* Make Generic ST7789 wrapper library handle "slot"
* Update Round LCD and 240x240 Square LCD
* Remove Python Round LCD and 240x240 LCD modules (we need the space!)
* Remove C++ Round LCD and 240x240 LCD libraries (they're a little redundant!)
* Fix garbage collected framebuffer bug in Python ST7789
* Deprecate "flip" in favour of "configure_display"
* Tidy up ST7789, remove dead/unused/commented code
2022-05-12 18:58:33 +01:00
ZodiusInfuser 305462d33c
Merge branch 'main' into motor-and-encoder 2022-05-12 17:02:50 +01:00
ZodiusInfuser d5468b9616 Removed old balance demo 2022-05-12 16:54:27 +01:00
ZodiusInfuser 19ec07e8c6 Added encoder C++ examples 2022-05-12 16:15:40 +01:00
Phil Howard 65fb478b6e ST7789: Port C++ examples to generic driver. 2022-05-12 16:02:56 +01:00
ZodiusInfuser 0c88f7892b Added MP encoder examples 2022-05-12 14:45:20 +01:00
ZodiusInfuser fac3e7365a Ported shim examples to C++, and tidy up 2022-05-12 13:20:52 +01:00
Phil Howard 8db8ad3140 MicroPython: Drop PicoDisplay/PicoDisplay2 modules.
Drop the deprecated PicoDisplay and PicoDisplay2 modules in favour of ST7789.

Saves ~5k.
2022-05-12 12:49:33 +01:00
Phil Howard a1f7c2fc2b ST7789: Port examples.
Update the Pico Display examples to use ST7789.

Since LED and Button input was also part of the Pico Display modules, replace with pimoroni.Button and pimoroni.RGBLED.
2022-05-12 12:45:27 +01:00
Phil Howard e870949a27 MicroPython: Add slots to pimoroni.py 2022-05-12 12:45:01 +01:00
Phil Howard 1315af4e41 PicoDisplay: Use pins for buttons.
Swap the button constants to use pins, just in case someone tries to use these with Button() or PicoZero.
2022-05-12 12:44:00 +01:00
Phil Howard 813b7a401a ST7789: Support rotation for PD and PD2. 2022-05-12 12:04:55 +01:00
Phil Howard af802c8300 Use I2C pins constants for #351 2022-05-12 10:35:35 +01:00
ZodiusInfuser 3c3a8c1752 Typo 2022-05-12 10:17:24 +01:00
Philip Howard aa75a7b957
Merge pull request #350 from pimoroni/patch-bump-blinka-platformdetect
Bump Blinka and PlatformDetect for #349
2022-05-11 10:53:58 +01:00
Philip Howard 84b6a0c8ee
Merge pull request #347 from pimoroni/driver/vl53l5cx
Add vl53l5cx driver, MicroPython bindings and examples
2022-05-11 10:52:25 +01:00
ZodiusInfuser 59019ab850 Added MP examples for pico motor shim, and tweaked others 2022-05-10 18:36:44 +01:00
ZodiusInfuser c75b35265b Removed old motor_shim module 2022-05-10 18:35:33 +01:00
ZodiusInfuser b26d13bab1 Fix for motor duty cycle not obeying direction 2022-05-10 18:34:59 +01:00
Philip Howard e4a0b942ba
Merge pull request #353 from pimoroni/patch-badger2040-partial-blocking
Badger 2040: Fix partial update hang for #348
2022-05-10 15:22:26 +01:00
ZodiusInfuser 71f0ea76ed Further Motor documentation 2022-05-09 18:20:48 +01:00
ZodiusInfuser 3bbf733bfb Further Motor documentation 2022-05-09 18:19:48 +01:00
ZodiusInfuser 13ac475b7c Further Motor documentation 2022-05-09 18:16:41 +01:00
ZodiusInfuser 6c9f4a9235 Further Motor documentation 2022-05-09 17:26:44 +01:00
Phil Howard 85fc718268 VL53L5CX: Add object tracking MicroPython example. 2022-05-09 17:17:44 +01:00
ZodiusInfuser 7499cc0378 Further Motor documentation 2022-05-09 17:07:14 +01:00
ZodiusInfuser de0e908def Encoder readme tweaks 2022-05-09 09:58:33 +01:00
Phil Howard 323d805585 Blinka: Add generic_micropython 2022-05-07 21:14:18 +01:00
Phil Howard 8392401cf9 Badger 2040: Fix partial update hang for #348 2022-05-06 17:56:10 +01:00
Phil Howard f66663aa0e Bump Blinka and PlatformDetect
Blinka -> v7.3.0 for RP2040 i2c pin permutations fix
PlatformDetect -> 3.22.1 for MicroPython fixes
2022-05-06 12:11:30 +01:00
ZodiusInfuser b782287c63 Added readme for encoder 2022-05-05 16:54:02 +01:00
ZodiusInfuser 90af916fa1 Finalised PicoExplorer encoder example 2022-05-03 18:09:43 +01:00
ZodiusInfuser 71a7a80218 Finalise motor API 2022-04-29 13:02:00 +01:00
Philip Howard 2413713bb8
Merge pull request #345 from andypiper/badger-samples-docs
Updating the samples README to reflect current contents
2022-04-29 11:36:35 +01:00
Philip Howard 56f6c767d8
Merge pull request #344 from cedel1/pico-graphics-fix-micropython-line-and-triangle-primitives
fix micropython line and triangle primitives for LCD displays
2022-04-29 11:31:40 +01:00
ZodiusInfuser 22f29743c1 Missing brace 2022-04-29 00:27:27 +01:00
ZodiusInfuser 24296af3d5 Indentation fixes 2022-04-29 00:09:58 +01:00
ZodiusInfuser 898e4bace4 Finalised motor cluster frequency, and disabled loading zone 2022-04-29 00:09:19 +01:00
ZodiusInfuser 15e5eaa890 Finished C++ examples and tweaked MP examples 2022-04-28 21:23:18 +01:00
Phil Howard 3afead416a VL53L5CX: Bringup Motion and add example. 2022-04-28 14:38:34 +01:00
Lukáš Říha 4de8762381 fix micorpython line and triangle primitives for breakout LCDs 2022-04-28 14:32:53 +02:00
Lukáš Říha cbd28ca432 add micropython drawing primitives demo to breakout_roundlcd 2022-04-28 14:32:32 +02:00
ZodiusInfuser 415a1e559a Setup and partial implementations of C++ examples 2022-04-26 23:15:13 +01:00