We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3efe97 commit a62f113Copy full SHA for a62f113
code/photo/bytes2img.py
@@ -1,7 +1,7 @@
1
# Untitled - By: Lithromantic - 周五 3月 5 2021
2
3
import sensor, image, time,lcd
4
-
+lcd.init(type=5,freq=50*1000*1000,lcd_type=3)
5
def Bytes_to_img(imgdir):
6
_imgdir=imgdir
7
_jpeg_buff={}
@@ -10,5 +10,6 @@ def Bytes_to_img(imgdir):
10
_image = image.Image(_jpeg_buff, from_bytes = True)
11
return _image
12
while(True):
13
- img=Bytes_to_img("back_ground.jpg")
+ img=Bytes_to_img("图片1.jpg")
14
+
15
print(img)
0 commit comments