Commit Graph

599 Commits

Author SHA1 Message Date
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
Phil Howard 9496d95ec7 Stop & reinit SCD41 to fix lockup for #338 2022-04-11 13:04:49 +01:00
ZodiusInfuser f3c0a305f2 Improvements to MotorState 2022-04-09 01:41:42 +01:00
ZodiusInfuser 7e9860e780 More mp binding and example work 2022-04-07 17:57:38 +01:00
helgibbons ac3bfa537d Update Badger readme to include bitmap fonts 2022-04-07 12:48:51 +01:00
helgibbons 6c4459701a Update Badger readme to include bitmap fonts 2022-04-07 12:45:41 +01:00
ZodiusInfuser b36993f492 First setup of motor micropython bindings 2022-04-05 20:44:03 +01:00
James Sutton 88040322da Badger 2040: Support for multiple QR codes.
Signed-off-by: James Sutton <1068763+jpwsutton@users.noreply.github.com>
2022-04-01 16:48:20 +01:00
Philip Howard dbb9a3d181
Merge pull request #332 from pimoroni/feature/unicode-ish
Fonts: Ungracefully handle accented characters.
2022-04-01 16:26:31 +01:00
Phil Howard 66039f8102 Badger 2040: Update font app. 2022-04-01 16:06:09 +01:00
Phil Howard 3b8740fab6 Bitmap Fonts: Add letter spacing. 2022-04-01 15:38:48 +01:00
Phil Howard 0d43973326 Bitmap Fonts: Refactor and support for pound/degrees. 2022-04-01 15:38:42 +01:00
Philip Howard ef32de2568
Merge pull request #319 from MichaelBell/better-list
Badger2040: Update list app to use new system
2022-03-31 23:50:18 +01:00
Philip Howard 6792f64a23
Merge pull request #328 from pimoroni/rewrite/pico-wireless
Pico Wireless - ESP32 Driver Rewrite
2022-03-31 14:07:25 +01:00
Mike Bell 8e6ad63307 Badger2040: list example now upgrades from old format 2022-03-30 22:25:39 +01:00
Mike Bell 4d67e35137 Badger2040: UART enabled build works 2022-03-30 22:23:24 +01:00
Mike Bell 16bfa467ce Reinitialize hardware after system clock change 2022-03-30 21:07:40 +01:00
ZodiusInfuser 8a36102c53 Merged in old motor implementation 2022-03-30 15:50:12 +01:00
Phil Howard 732e59b314 Pico Wireless: Driver Rewrite
* Use a single common function prototype for all (but two) commands
* Remove "last param" from every param, in favour of an "end_cmd"
* Rename "send_cmd" to "start_cmd" to better reflect what it does
* Replace hard-coded param counts with macro (sizeof(params) / sizeof(inParam))
* Eliminate common causes of bugs
* Try to document some functions
* Correct some types (wl_enc_type, peek as bool)
* Handle timeouts & sleep states
* Successful command exits sleep
2022-03-30 15:30:11 +01:00
Phil Howard 3b8dcecd8e Pico Graphics: Move bitmap fonts into generic library.
* Add bitmap font support into Badger 2040
2022-03-30 15:10:52 +01:00
Phil Howard 24819734b7 Separate Hershey Fonts into their own library. 2022-03-30 15:10:52 +01:00
ZodiusInfuser 5b46722a66 Updated Servo2040 description 2022-03-30 14:29:02 +01:00
ZodiusInfuser 1efa75a590 Renamed C++ Servo functions to match MP 2022-03-30 14:29:02 +01:00
ZodiusInfuser c5be5be759 Made calibration C++ better match MP 2022-03-30 14:29:02 +01:00
ZodiusInfuser 7f83c98968 Link fix 2022-03-30 14:29:02 +01:00
ZodiusInfuser 94bb4d3d95 Added C++ examples readme 2022-03-30 14:29:02 +01:00
ZodiusInfuser ce31f88e2d Added HEADER_I2C_PINS etc for rp application boards 2022-03-30 14:29:02 +01:00
ZodiusInfuser fe32ac8ce7 MP example tweaks 2022-03-30 14:29:02 +01:00
ZodiusInfuser e4bb26b081 Renamed LED_DAT to LED_DATA 2022-03-30 14:29:02 +01:00
ZodiusInfuser 852cfca7c5 readme fixes 2022-03-30 14:29:02 +01:00
ZodiusInfuser 93e7d476a2 Typo 2022-03-30 14:29:02 +01:00
ZodiusInfuser d47326c33e Fix some broken links 2022-03-30 14:29:02 +01:00
ZodiusInfuser a64b5bf5ac Finished off final sections of the documentation 2022-03-30 14:29:02 +01:00
ZodiusInfuser b1b111a179 Added additional constants 2022-03-30 14:29:02 +01:00
ZodiusInfuser 00408d3b2b Improved servocluster teardown 2022-03-30 14:29:02 +01:00
ZodiusInfuser 41d577f458 Finished most sections of readme off 2022-03-30 14:29:02 +01:00
ZodiusInfuser 9b66be4f3b Updated readme for Servo class 2022-03-30 14:29:02 +01:00
ZodiusInfuser 7cb12225ca Added examples readme 2022-03-30 14:29:02 +01:00
ZodiusInfuser 44412365b8 Tidying up of calibration 2022-03-30 14:29:02 +01:00
ZodiusInfuser 23bf49bdba Lint fix 2022-03-30 14:29:02 +01:00
ZodiusInfuser 09e69ff8d9 Improvements to calibration and a calib example 2022-03-30 14:29:02 +01:00
ZodiusInfuser 676c54aaed Added a servo easing example 2022-03-30 14:29:02 +01:00
ZodiusInfuser 98ccb7698d Added sensor feedback example 2022-03-30 14:29:02 +01:00
ZodiusInfuser df217b69b5 Added current meter example, + some fixes 2022-03-30 14:29:02 +01:00
ZodiusInfuser e41a8bd6e5 Added sensor reading example, with mux support 2022-03-30 14:29:02 +01:00
ZodiusInfuser 3375a9ec20 Added servo wave example 2022-03-30 14:29:02 +01:00
ZodiusInfuser cc7179d6d0 Added LED bar example and exposed servo2040 constants 2022-03-30 14:29:02 +01:00
ZodiusInfuser aee14e2d51 Added some initial Servo examples, and tweaked API 2022-03-30 14:29:02 +01:00
ZodiusInfuser 6f41834082 Various changes to handle class cleanup 2022-03-30 14:29:02 +01:00
ZodiusInfuser 77608249a6 Expanded readme TOC, and did some reordering 2022-03-30 14:29:02 +01:00
ZodiusInfuser 7ce4717684 Added main intro section for Servo readme 2022-03-30 14:29:02 +01:00
ZodiusInfuser f83521d3ff Expanded list/tuple support to more functions 2022-03-30 14:29:02 +01:00
ZodiusInfuser 2ef84ae286 Fixed a silly pointer bug 2022-03-30 14:29:02 +01:00
ZodiusInfuser e1317f432b Expanded options for enabling and disabling servos, and fixed some off-by-one errors. 2022-03-30 14:29:02 +01:00
ZodiusInfuser d96db62353 Fix for frequency changes enabling servo PWM 2022-03-30 14:29:02 +01:00
ZodiusInfuser 3e9597e186 The start of some documentation 2022-03-30 14:29:02 +01:00
ZodiusInfuser 2819fb0020 Exposed servo value loading 2022-03-30 14:29:02 +01:00
ZodiusInfuser 6fe79d4ebc Minor cleanup 2022-03-30 14:29:02 +01:00
ZodiusInfuser cf810b7b7f MP Calibrations are now copies of the servo's one, rather than references that could get GC'ed 2022-03-30 14:29:02 +01:00
ZodiusInfuser 59014f1e86 MP now supports assigning a new calibration to a servo 2022-03-30 14:29:02 +01:00
ZodiusInfuser d6811e1173 MP fixes 2022-03-30 14:29:02 +01:00
ZodiusInfuser 176362a49b Updated MP bindings to support latest servo features 2022-03-30 14:29:02 +01:00
ZodiusInfuser e07e248d9e Big refactor of clusters to reduce memory and improve usability 2022-03-30 14:29:02 +01:00
ZodiusInfuser 35bd03c02b Improved Servo constructors 2022-03-30 14:29:02 +01:00