Skip to content

Commit ad9f0da

Browse files
author
funnygeeker
committed
update
1 parent fe41009 commit ad9f0da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ from libs.easydisplay import EasyDisplay
3333
spi = SPI(1, baudrate=20000000, polarity=0, phase=0, sck=Pin(19), mosi=Pin(18))
3434
dp = st7735_buf.ST7735(width=160, height=128, spi=spi, cs=0, dc=1, rst=11, rotation=1)
3535
ed = EasyDisplay(display=dp, font="/text_lite_16px_2311.v3.bmf", show=True, color=0xFFFF, clear=True,
36-
color_type=framebuf.RGB565, text_half_char=True, text_auto_wrap=True)
36+
color_type=framebuf.RGB565, auto_wrap=True)
3737

3838
ed.bmp("/img/test.bmp", 0, 0)
3939
time.sleep(3)

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
spi = SPI(1, baudrate=20000000, polarity=0, phase=0, sck=Pin(19), mosi=Pin(18))
1010
dp = st7735_buf.ST7735(width=160, height=128, spi=spi, cs=0, dc=1, rst=11, rotation=1)
1111
ed = EasyDisplay(display=dp, font="/text_lite_16px_2311.v3.bmf", show=True, color=0xFFFF, clear=True,
12-
color_type=framebuf.RGB565, text_auto_wrap=True)
12+
color_type=framebuf.RGB565, auto_wrap=True)
1313

1414
ed.bmp("/img/test.bmp", 0, 0)
1515
time.sleep(3)

0 commit comments

Comments
 (0)