Commit Graph

901 Commits

Author SHA1 Message Date
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
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
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