ZodiusInfuser
180df9e085
Merge branch 'motor-pio' into motor-and-encoder
2022-04-19 16:28:12 +01:00
ZodiusInfuser
c113f30da6
Changed the motor implementation on PicoExplorer to used breaking mode
2022-04-13 10:47:42 +01:00
ZodiusInfuser
96070f61af
Started on motor readme, and updated API elements accordingly
2022-04-12 17:00:39 +01:00
ZodiusInfuser
ac3edafbf4
Contined motor dev
2022-04-05 16:53:36 +01:00
ZodiusInfuser
9a9c3832a2
Various motor work
2022-04-04 20:00:03 +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
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
Phil Howard
b2ff46b516
Bitmap Fonts: Simplify and add support for 16bit fonts.
2022-04-01 15:38:34 +01:00
Phil Howard
e4bde0985a
Bitmap Fonts: Add final five chars.
2022-04-01 15:38:29 +01:00
Phil Howard
6a9bc8688f
Bitmap Fonts: Add accent rendering.
...
Render accents above and below the 64 characters > 127.
Different offsets for upper/lower case characters.
2022-04-01 15:38:20 +01:00
Phil Howard
ef940cc5ea
Fonts: Ungracefully handle accented characters.
...
Introduce a lookup table for the 64 accented characters > 127.
Remaps these characters back to a printable, non-accented version.
2022-03-31 16:13:30 +01:00
Mike Bell
a4acf4b94e
Fix buffer overrun on out of bounds rectangle height/width
2022-03-30 22:23:09 +01:00
ZodiusInfuser
e59bdc34c4
Added initial structure of new motor classes
2022-03-30 15:50:12 +01:00
ZodiusInfuser
8a36102c53
Merged in old motor implementation
2022-03-30 15:50:12 +01:00
Phil Howard
348b90225f
Badger 2040: Avoid sub 1 scale vanishing pixel font text.
2022-03-30 15:10:52 +01:00
Phil Howard
40d3c9e0be
Badger2040: Use bitmap measure functions.
2022-03-30 15:10:52 +01:00
Phil Howard
90ea262496
Bitmap Fonts: Add measure functions.
2022-03-30 15:10:52 +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
41d55b1115
Ported the majority of Servo2040 MP examples to C++
2022-03-30 14:29:02 +01:00
ZodiusInfuser
f46deb1c5b
Ported the majority of Servo2040 MP examples to C++
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
aeb9705d15
Moved common PWM and MultiPWM out of servo driver, and renamed to cluster
2022-03-30 14:29:02 +01:00
ZodiusInfuser
f5836e56df
Raised servo functions to a base class, and added ServoCluster which uses the PIO PWM.
2022-03-30 14:28:17 +01:00
ZodiusInfuser
2e58841b5e
Started a hardware PWM servo class, with calibration support
2022-03-30 14:28:17 +01:00
ZodiusInfuser
aca98ca747
current WIP code for PIO based PWM
2022-03-30 14:28:17 +01:00
Mike Bell
5b6c220e2a
Actually use full screen image process, and fix it
2022-03-29 23:16:18 +01:00
Mike Bell
b1dddff291
Badger2040: Fix rectangle handling for thickness, use fast draw for dithered rectangle
2022-03-29 23:16:18 +01:00
Mike Bell
d96a584ddd
Badger2040: Improve performance of some large frame buffer writes
2022-03-29 23:15:43 +01:00
Philip Howard
66254ab743
Merge pull request #312 from deodre/patch-wireless-include-drivers
...
Updated path to esp32 drivers in /libraries/pico_wireless/pico_wireless.cmake
2022-03-29 14:12:21 +01:00
Phil Howard
b1fd8936cf
Badger2040: Enforce minimum update blocking time.
2022-03-25 10:57:30 +00:00
Mike Bell
fe943a05f7
Include USER button in button state
2022-03-24 23:24:10 +00:00
Teodor Cervinski
58ae6edb24
Updated path to esp32 drivers in /libraries/pico_wireless/pico_wireless.cmake
2022-03-23 11:34:52 +02:00
Phil Howard
39e9728b0e
Badger2040: Fix text rotation aliasing for #290
...
Fix text rendering at 90, 180 and 270 degree rotations by avoiding float -> int truncation.
2022-03-11 13:48:41 +00:00
Mike Bell
6975610fdc
Don't use wait_for_press because that waits for the button to be released
2022-03-09 23:53:56 +00:00
Mike Bell
fefa6f8880
Change internal state of Badger2040 to protected
2022-03-09 23:47:12 +00:00
Mike Bell
bbb995a062
Reboot on button press when halted but still have power
2022-03-09 23:32:52 +00:00
Mike Bell
d26bb1701c
Minor fixes to Badger2040 library
2022-03-02 21:08:17 +00:00
Phil Howard
f90559ed41
Badger2040: Add support for colour inverted mode
2022-02-25 14:49:28 +00:00
Phil Howard
2c27296cc4
Badger2040: Add image & icon support
2022-02-25 11:08:32 +00:00
Jonathan Williamson
e69115ea2e
added new meaasure_text() and measure_glyph() methods
2022-02-25 11:08:32 +00:00
Phil Howard
a4f7d05fe5
Badger2040: Move startup block on held buttons to launcher.py
...
Blocking on held buttons is bad for MicroPython, since it makes nothing happen on startup-
We need the button to be held but are waiting for a button release after some arbitrary amount of time.
Additionally running code while holding down a button would block normal MicroPython event execution and crash the host's USB bus quite severely.
2022-02-25 11:08:32 +00:00
Phil Howard
6ff5c39c1b
Badger2040: Bugfixes, danger LUTs, examples
2022-02-25 11:08:32 +00:00
Phil Howard
669e96598d
Badger2040: Fix input handling
...
Fixes input handling by clearing the button states to 0 when "wait_for_press".
2022-02-25 11:08:32 +00:00
Jonathan Williamson
07c62a849a
added rotation by angle in degrees to text() and glyph() methods
2022-02-25 11:08:32 +00:00
Phil Howard
a38dc98199
Badger2040: Comment out meh fonts
2022-02-25 11:08:32 +00:00
Phil Howard
af230b5fd5
Badger2040: Refactor to fix MicroPython issues
...
Move busy wait logic into MicroPython bindings so that MICROPY_EVENT_POLL_HOOK can be called.
2022-02-25 11:08:32 +00:00
Phil Howard
5b084c1b9a
Badger2040: Add Fast/Slow LUTs, bugfix and tinkering helpers
2022-02-25 11:08:32 +00:00
Phil Howard
5a0fe00149
Badger2040: Fix typo, comment out explodey wfi
2022-02-25 11:08:32 +00:00