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
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
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
Phil Howard
8d638e2744
MicroPython: Drop redundant Print. Saves 4K.
2022-06-13 18:59:51 +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
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
ZodiusInfuser
df63655c76
Added MP support for rtc
2022-05-30 15:33:10 +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
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
Phil Howard
5c92ac3762
ADCFFT: Use util.hpp
2022-05-27 11:04:13 +01:00
Phil Howard
f7c42e90a8
ADC FFT library & MicroPython Bindings
2022-05-23 16:12:22 +01:00
Phil Howard
bc0390b86c
MicroPython: Use placement new to alloc classes on GC_HEAP
2022-05-23 15:34:49 +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
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
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
Phil Howard
c2256c481b
VL53L5CX: Autoload firmware in MicroPython bindings.
2022-05-17 14:05:32 +01:00
Phil Howard
aeceefea59
VL53L5CX: Sideload firmware from user-supplied .bin
2022-05-17 12:33:07 +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
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
19ec07e8c6
Added encoder C++ examples
2022-05-12 16:15:40 +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
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
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
8392401cf9
Badger 2040: Fix partial update hang for #348
2022-05-06 17:56:10 +01:00
ZodiusInfuser
b782287c63
Added readme for encoder
2022-05-05 16:54:02 +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
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
ZodiusInfuser
56451bff30
Finished MP examples
2022-04-26 12:52:28 +01:00
ZodiusInfuser
0efe210c4c
Added in PH_EN motor driver, and zeropoint support
2022-04-25 16:16:02 +01:00
ZodiusInfuser
7608e3f293
Encoder driver finalising
2022-04-25 12:28:42 +01:00
Andy Piper
7c47b1c53f
Updating the samples README to reflect current contents
2022-04-23 21:47:09 +01:00
ZodiusInfuser
2eb6a0cf3e
Changed encoder folder and gave it a namespace
2022-04-22 16:23:45 +01:00
ZodiusInfuser
ba076ccc7b
Renamed Snapshot back to Capture
2022-04-22 16:06:54 +01:00
ZodiusInfuser
1bde0acbef
Renamed target to setpoint to be more accurated to PID literature
2022-04-22 15:22:32 +01:00
ZodiusInfuser
ae606e7bf5
Removed MP accesors to Snapshot class
2022-04-22 15:14:30 +01:00
ZodiusInfuser
652612fc31
Removed old C++ motor implementation
2022-04-22 13:59:40 +01:00
ZodiusInfuser
98c57741b6
linting fix
2022-04-21 21:22:35 +01:00
ZodiusInfuser
6b3ba659a2
Added a reactive encoder example
2022-04-21 21:14:41 +01:00
ZodiusInfuser
70d1368a2b
Extended tuning examples to be general control examples
2022-04-21 17:38:37 +01:00
ZodiusInfuser
c837081fe2
Added PID class and MP tuning examples
2022-04-21 16:47:37 +01:00
ZodiusInfuser
0f792c1e0b
Added attrtuple for capture, and some position control examples
2022-04-20 21:59:20 +01:00
Phil Howard
02d3d853f8
VL53L5CX: MicroPython example.
2022-04-20 19:19:51 +01:00
Phil Howard
70637d0f0e
VL53L5CX: MicroPython error handling and attrtuple data.
2022-04-20 19:19:40 +01:00
ZodiusInfuser
8ef0d33f0c
Finalised more examples
2022-04-20 18:55:39 +01:00
Phil Howard
fcd4914cbb
VL53L5CX: MicroPython bindings.
2022-04-20 14:33:00 +01:00
ZodiusInfuser
ae191697f2
Added a motor profiler example and finished constructor args
2022-04-20 14:26:32 +01:00
ZodiusInfuser
114c83e04e
More encoder MP work
2022-04-19 20:22:35 +01:00
ZodiusInfuser
180df9e085
Merge branch 'motor-pio' into motor-and-encoder
2022-04-19 16:28:12 +01:00
ZodiusInfuser
9472a1f109
Fix for hard lock when taking many snapshots
2022-04-19 15:44:31 +01:00
Luyáš Říha
746b47a601
fix micropython breakout_roundlcd rendering of graphics primitives
2022-04-18 20:40:05 +02:00
ZodiusInfuser
90fd4b8fb9
Encoder mostly implemented, now with MP support
2022-04-17 16:16:59 +01:00
ZodiusInfuser
564fecf1de
First pass at MP support
2022-04-13 20:13:27 +01:00
ZodiusInfuser
96070f61af
Started on motor readme, and updated API elements accordingly
2022-04-12 17:00:39 +01:00
ZodiusInfuser
0facfaa540
Updated MP bindings to newest C++
2022-04-11 17:59:16 +01:00