v2.2.0-beta.1
Pre-release
Pre-release
·
12 commits
to main
since this release
更新
- 支持通过 BytesIO 输入图像
- ST7735 和 ST7789 驱动的 rst 参数重命名为 res 参数
- color_type 传入的参数由 framebuf.MONO_HLSB 和 framebuf.RGB565 更改为 "RGB565" 和 "MONO"
- SSD1306 和 SH1106 驱动的引脚不再需要使用 Pin(xxx)传入,直接传入引脚 (int) 即可
- text_lite 字体文件更新 ℃ 符号等少量符号,修复 text_full 字体文件某些文字缺失的问题,并移除了一些冗余文字,感谢 @倪NI 的反馈
- 更新此版本后,请检查代码的兼容性
修复
- 修复默认字体大小与字体文件大小不一致的问题
- ST7735 ST7789 驱动的部分错误:当 rgb=False 时,显示可能不正常
Update
- Added support for inputting images via BytesIO.
- Renamed the
rst
parameter of ST7735 and ST7789 drivers tores
. - Changed the input parameters for
color_type
fromframebuf.MONO_HLSB
andframebuf.RGB565
to"RGB565"
and"MONO"
, respectively. - The pin parameter for SSD1306 and SH1106 drivers no longer requires the use of
Pin(xxx)
. You can directly pass the pin as an integer. - Updated the text_lite font file to include a few additional symbols, such as the ℃ symbol. Fixed an issue in the text_full font file where some characters were missing, and removed some redundant characters. Thanks to @倪NI for the feedback.
- After updating to this version, please check the compatibility of your code.
Fixes
- Fixed the inconsistency between the default font size and the font file size.
- Fixed some errors in the ST7735 and ST7789 drivers. When
rgb=False
, the display may not behave correctly.