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
ZodiusInfuser
ec1f0a5ddc
ServoCluster states are now only created for the servos actually assigned
2022-03-30 14:29:02 +01:00
ZodiusInfuser
8fc1270404
Added additional PWM/ServoCluster constructors
2022-03-30 14:29:02 +01:00
ZodiusInfuser
d94a7c0718
Added set_frequency support to ServoCluster
2022-03-30 14:29:02 +01:00
ZodiusInfuser
aeb9705d15
Moved common PWM and MultiPWM out of servo driver, and renamed to cluster
2022-03-30 14:29:02 +01:00
ZodiusInfuser
55cbf23f45
Function rename
2022-03-30 14:28:17 +01:00
ZodiusInfuser
5a5282f099
Improved servo limits logic
2022-03-30 14:28:17 +01:00
ZodiusInfuser
d1238e802e
Added frequency limits
2022-03-30 14:28:17 +01:00
ZodiusInfuser
334ff4e9f9
Added frequency adjustment to Servo
2022-03-30 14:28:17 +01:00
ZodiusInfuser
93eafc4694
All current servo functionality now micropython bindings
2022-03-30 14:28:17 +01:00
ZodiusInfuser
196a5c6111
Much code refactoring and tidy up
2022-03-30 14:28:17 +01:00
ZodiusInfuser
413ef891ce
Partial hardware servo support added to MP
2022-03-30 14:28:17 +01:00
Philip Howard
7c523f82df
Merge pull request #325 from MichaelBell/improve-performance
...
Badger2040: system_speed call, plus performance improvements
2022-03-30 13:58:19 +01:00
Mike Bell
179796b80f
Very Slow to 4MHz, fix linter error
2022-03-30 00:27:28 +01:00
Philip Howard
ca39554d28
Merge pull request #318 from MichaelBell/better-help
...
Badger2040: Improve help, info, qrgen
2022-03-29 23:17:16 +01:00
Mike Bell
b78b292ff8
Don't slow down the system clock too much at the top of launcher - there's no need to save battery if the app will switch the badger off when it's finished anyway.
2022-03-29 23:16:18 +01:00
Mike Bell
c1c1b9f1bc
Badger2040: Use new system speed call in examples and document it.
2022-03-29 23:16:18 +01:00
Mike Bell
9b5e4ecfac
Badger2040: Add system_speed call
2022-03-29 23:16:10 +01:00
Philip Howard
9fc556d064
Merge pull request #316 from MichaelBell/earlier-power-init
...
Even better Badger wake handling
2022-03-29 23:12:55 +01:00
Mike Bell
a22cb42813
Badger2040: List app uses items from checklist.txt again, stores hash of item list instead of a copy of the list.
2022-03-29 22:43:22 +01:00
Philip Howard
ed93acdb1d
Merge pull request #308 from pimoroni/example-furtling
...
Add example to set RV3028 RTC breakout
2022-03-29 14:13:28 +01:00
Mike Bell
721da69adc
Badger2040: Update list app to use new system
2022-03-26 19:29:24 +00:00
Mike Bell
a5efdf8bae
Badger2040: Improve help, info, qrgen
2022-03-26 17:33:13 +00:00
Mike Bell
0a11a9f555
Comment why this works
2022-03-26 12:58:36 +00:00
Mike Bell
4061b446b3
Badger2040: Make wake state access methods static
2022-03-26 12:51:55 +00:00
Mike Bell
7720bbe602
Simplify Badger Wake on the C++ side, tidy up X_to_wake on the python interface
2022-03-26 12:45:25 +00:00
Mike Bell
e1a4d56993
Badger2040: Read the button state and enable 3v3 before initializing crystal
2022-03-26 11:55:56 +00:00
Philip Howard
522c83dc19
Merge pull request #313 from MichaelBell/battery-improvements
...
Badger2040 Micropython battery improvements
2022-03-25 16:58:33 +00:00
Mike Bell
72ff77aafa
Badger2040: Sleep after writing the book, to fix possible write delay when on battery
2022-03-25 16:52:52 +00:00
Mike Bell
e0e34fef42
Badger2040: Put state files in their own directory to keep things tidy
2022-03-25 16:30:06 +00:00