mirror of
https://github.com/sipeed/sipeed_wiki.git
synced 2026-09-11 00:22:49 -05:00
Merge pull request #672 from 18171225307/patch-1
使用maixduino时,在例程2,缺少lcd.init(),导致图片无法显示
This commit is contained in:
@@ -190,7 +190,8 @@ lcd.draw_string(100, 100, "hello maixpy", lcd.RED, lcd.BLACK)
|
||||
import lcd
|
||||
import image
|
||||
|
||||
img = image.Image("/sd/pic.bmp")
|
||||
lcd.init()
|
||||
img = image.Image("/sd/pic.bmp")#320*240
|
||||
lcd.display(img)
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user