Skip to content

Releases: funnygeeker/micropython-easydisplay

v2.3.1

27 Apr 04:22
Compare
Choose a tag to compare

修复

  • 修复了全局参数无法被继承的BUG

Fix

  • Fixed the BUG that global parameters cannot be inherited.

v2.3.0

18 Feb 11:42
Compare
Choose a tag to compare

更新

  • 更新使用示例
  • 对代码注释进行了优化
  • 实验性更新墨水屏驱动,但是由于测试环境缺少相关硬件,暂未进行硬件测试
  • 移除了函数中独立的 color_type 参数,因为并不常用,并且增加了使用时的理解难度
  • MONO 渲染为 RGB565 的执行效率进行了优化,最高提升 120%。移除了相关颜色渲染代码,缩减代码量

修复

  • st7735_bufst7735_spist7789_bufst7789_spi 在 树莓派PICO 开发板上初始化背光失败的问题(#2

注意事项

  • 该版本更新后,需要在初始化屏幕时指定 color_typeMONO 或者 RGB565,该参数不再具有默认值

Update

  • Updated usage examples
  • Optimized code comments
  • Experimentally updated the e-ink screen driver, but hardware testing has not been conducted yet due to lack of related hardware in the test environment
  • Removed the standalone color_type parameter in functions since it is not commonly used and adds to the complexity of understanding when used
  • Optimized the execution efficiency of rendering MONO to RGB565, showing up to 120% increase in performance. Removed related color rendering code to reduce code size

Fix

  • Fixed an issue with backlight initialization failure in st7735_buf, st7735_spi, st7789_buf, st7789_spi on the Raspberry Pi Pico development board (#2)

Note

  • After this version update, it is necessary to specify color_type as MONO or RGB565 during screen initialization. This parameter no longer has a default value

v2.2.2

29 Jan 18:09
Compare
Choose a tag to compare

修复

  • PPM 图片无法正常 invert 的 BUG
  • SH1106 屏幕驱动无法正常初始化的 BUG

Fix

  • Fixed a bug where PPM images were not properly inverted.
  • Fixed a bug where the initialization of the SH1106 screen driver was not functioning correctly.

v2.2.1

19 Jan 08:09
Compare
Choose a tag to compare

更新

  • 新增部分函数,直通到 framebuf

Update

  • Added some functions that go directly to framebuf.

v2.2.0

04 Jan 05:55
Compare
Choose a tag to compare

修复

  • 重命名文件夹之后,部分文件缺失的问题
  • pbmbmpcolor_type 未能继承全局默认设置的问题
  • 屏幕驱动没有 color 函数则完全无法使用的问题,现在如果没有 color 函数,则会使用内置的颜色计算函数

Bug Fixes

  • Fixed an issue where some files were missing after renaming a folder.
  • Fixed the issue where the color_type of pbm and bmp did not inherit the global default settings.
  • Fixed the problem where the screen driver cannot be used at all if there is no color function. Now, if the color function is missing, the built-in color calculation function will be used.

v2.2.0-beta.1

03 Jan 10:41
Compare
Choose a tag to compare
v2.2.0-beta.1 Pre-release
Pre-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 to res.
  • Changed the input parameters for color_type from framebuf.MONO_HLSB and framebuf.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.

v2.1.0-beta.1

30 Nov 17:22
Compare
Choose a tag to compare
v2.1.0-beta.1 Pre-release
Pre-release

更新

  • 新增 show 函数
  • 新增 sh1106 屏幕驱动
  • st7735 st7789屏幕驱动进行了错误修复和优化
  • 重命名部分参数,若更新到此版本,请先检查代码兼容性

Updates

  • Added show function
  • Added support for sh1106 display driver
  • Fixed and optimized st7735 and st7789 display drivers
  • Renamed some parameters. If updating to this version, please check code compatibility first.

v2.0.2

17 Nov 06:57
06cae66
Compare
Choose a tag to compare

修复

修复字体集 text_lite.txt 缺失 的问题

Fix

Fixed the issue of missing in the font set text_lite.txt.

v2.0.1

16 Nov 11:35
Compare
Choose a tag to compare

修复

修复字体集 text_lite.txt 缺失 ` 符号的问题

Fix

Fixed the issue of missing ` symbols in the font set text_lite.txt.

v2.0.0

13 Nov 13:13
Compare
Choose a tag to compare

修复

  • self.font_size 变量名称冲突

更新

  • SSD1306 驱动添加 back_light 函数,与其他驱动名称统一

Fix

  • Fix the variable name conflict for self.font_size

Update

  • Added the back_light function to the SSD1306 driver to maintain consistency with other driver naming conventions.