Commit Graph

1015 Commits

Author SHA1 Message Date
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
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
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
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
Philip Howard cc4d826dd0
Merge pull request #330 from MichaelBell/improve-performance
Reinitialize hardware after system clock change
2022-03-31 14:07:09 +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 a4acf4b94e Fix buffer overrun on out of bounds rectangle height/width 2022-03-30 22:23:09 +01:00
Mike Bell 16bfa467ce Reinitialize hardware after system clock change 2022-03-30 21:07:40 +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 30faa0966d Pico Wireless: WiFi Network scan example 2022-03-30 15:30:43 +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
Philip Howard 9926481385
Merge pull request #326 from pimoroni/feature/font-rework
Hershey & Pixel fonts as libraries + Pixel fonts for Badger 2040
2022-03-30 15:24:50 +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
Philip Howard 391647b667
Merge pull request #259 from pimoroni/servo-pio
Adding support for Servos
2022-03-30 15:10:16 +01:00
ZodiusInfuser 2e2b2002c3 Fix for CI compiler error 2022-03-30 14:52:53 +01:00
ZodiusInfuser 5b46722a66 Updated Servo2040 description 2022-03-30 14:29:02 +01:00
ZodiusInfuser 5f3ac9411b Minor internal function rename, and var assignment 2022-03-30 14:29:02 +01:00
ZodiusInfuser 5192e8bc87 Tidied up some debug code 2022-03-30 14:29:02 +01:00
ZodiusInfuser 8d0ae57f2a Changed type to uint8_t 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 15b19c9019 Removed old examples 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 a0f12c679f Added final C++ example 2022-03-30 14:29:02 +01:00
ZodiusInfuser d4a1f6ed61 Disable uart on all examples to avoid confusing servos 2022-03-30 14:29:02 +01:00
ZodiusInfuser 5212b6a39f Added sensor and current examples 2022-03-30 14:29:02 +01:00
ZodiusInfuser f9a1979d8d Added AnalogMux to C++ 2022-03-30 14:29:02 +01:00
ZodiusInfuser 1b79e85be7 Added offset parameter to Analog, and fixed it not switching between ADC pins 2022-03-30 14:29:02 +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 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