Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
三十岁开始学编程的大叔
image to pbm
提交
034e1728
I
image to pbm
项目概览
三十岁开始学编程的大叔
/
image to pbm
通知
185
Star
4
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
image to pbm
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
034e1728
编写于
11月 14, 2021
作者:
三十岁开始学编程的大叔
🎼
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
上传新文件
上级
cb2c16d2
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
11 addition
and
0 deletion
+11
-0
showpic.py
showpic.py
+11
-0
未找到文件。
showpic.py
0 → 100644
浏览文件 @
034e1728
from
machine
import
I2C
,
Pin
from
ssd1306
import
SSD1306_I2C
import
framebuf
,
time
i2c
=
I2C
(
sda
=
Pin
(
13
),
scl
=
Pin
(
14
))
oled
=
SSD1306_I2C
(
128
,
64
,
i2c
,
addr
=
0x3c
)
baozounew
=
framebuf
.
FrameBuffer
(
bytearray
(
b
'
\xf9\xfc\xfe
~
\x7f
?
\x9f\xcf\xcf\xe7\xf0\xf3\xfc\xfc\xfe
~
\x7f\x1f\x9f\xcf\xcf\xe0\xf3\xf9\xf8\xf8\xfc\x7f
?
\x1f\x1f\x8f\xe0\xe7\xf1\xf1\xf9\xf8\xfc
~??
\x1f\x80\xc7\xe3\xf3\xf1\xf9\xfc\xfe
~??
\x80\x9f\xe7\xe7\xe3\xe3\xf8\xfc\xfc
~
\x7f\x10\x9f\x8f\xc7\xe7\xf3\xf3\xf8\xfc\xfe
~0?
\x9f\x8f\x8f\xc7\xf1\xf1\xf1\xf8\xfe
p
\x7f\x1f\x1f\x8f\x8f\xc7\xe3\xf1\xf1\xf8\xf0\x7f\x7f\xbf\xbf\xdf\xef\xef\xf7\xfb\xfc\xf0\xd5
Uj
\xb5
UUUR
\xaa\xab\xb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\xf8\x00\x03\xc0\x00\x00\x0f\xe0\x00\x00\x01\xff\xff\xff\xf0\x00\x00\x0f\xe0\x00\x00\x01\xff\xff\xff\xf8\x00\x00\x0f\xe0\x00\x00\x01\xf8\x00\x03\xf8\x00\x00\x0f\xc0\x00\x00\x01\xf8\x00\x03\xf0\x00\x00\x0f\xc0\x00\x00\x01\xff\xff\xff\xf0\x00\x00\x0f\xc0
0
\x00\x01\xff\xff\xff\xf0\x00\x00\x0f\xc0
|
\x00\x03\xf0\x00\x03\xf0\x00\x00\x0f\xc0
~
\x00\x01\xfc\x00\x03\xf0\x01\xff\xff\xff\xff\x00\x01\xff\xff\xff\xf0\x01\xff\xff\xff\xff\x00\x03\xff\xff\xff\xe0\x00\x00\x0f\xc0\x00\x00\x01\xf8\x00\x00
p
\x00\x00\x0f\xc0\x00\x00\x01\xe7\xf0\xfe
<
\x00\x00\x0f\xc0\x07\x00\x00\x07\xf0\xfe\xfc\x00\x00\x0f\xc0\x0f\x80\x07\xff\xff\xfe\xff\x00\x00\x0f\xc0\x0f\xc0\x07\xff\xef\xff\xee\x0f\xff\xff\xff\xff\xe0\x00\x07\xe0
|
\x08\x0f\xff\xff\xff\xff\xf0\x00\x07\xe0\xfc\x0f\x00\x00\x0f\xc0\x00\x00\x00\x07\xe0\xfc\x1f\x00\x00\x0f\xc0\x00\x00
?
\xff\xff\xff\xff\xc0\x00\x0f\xc0\x00\x00
?
\xff\xff\xff\xff\xc0\x1f\x0f\xc0
`
\x00\x00
?
\x80\x1e\x00\x00
?
\xcf\xc0\xf8\x00\x00\x7f\xbf\x8e\x00\x00
?
\xef\xc0\xfc\x00\x00
~?
\x8f\xc0\x00
?
\x8f\xff\xfe\x00\x00\xfc
?
\x87\xf0\x00
?
\x8f\xff\xfe\x00\x01\xfc
?
\x8f\xff\xc0
?
\x0f\xc0\x00\x00\x03\xfe
?
\x9f\xff\xc0
?
\x0f\xc0\x00\x00\x07\xdf
?
\x9f\xff\xc0
?
\x8f\xc0\x00\x00\x0f\x0f\xbf\x9f\xfe\x00\x7f\x8f\xc0\x00\x00
>
\x0f
?
\xb8
<
\x00
}
\xff\xc0\x00\x00
8
\x07\xff\xbc\x0c\x00
|
\xff\xc0\x00\x00
`
\x0f\xff\xbf\x80\x00\xf9\xff\xc0\x00\x00\x07\xff\x1f\xbf\xc0\x01\xf8\xff\xc0\x00\x00\x07\xfc
?
\x9f\xe0\x01\xf0\x7f\xff\xff\xf0\x03\xfb\xff\x87\xf0\x03\xe0
?
\xff\xff\xc0\x03\xe1\xff\x87\xf0\x03\xc0
?
\xff\xff\xc0\x01\x80\xff\x81\xe0\x07\x00\x0f\xff\xff\x80\x01\x80\x7f\x00\xc0\x0e\x00\x03\xff\xff\x00\x00\x00
~
\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xf0\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xf0\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbf\xb8
c
\x87\xf8
x
\x7f\x1b\x87
?
\x80\xb0\x18\xe7\xc6\x18
x
\xe3\x9b\xe6
q
\xc0\x9f\x9c\xc6\xcf\xd8\xd8\xc0\x9b\xe7
a
\xc0\xbf\xcd\xcc\xc7\xf9\xcc\xc0\x1b
6c
\xc0\xb0\r\x8f\xe6\x1c\xfe\xc1\x9b\x9f
a
\xc0\xbf\x07\x9e\xf6
9
\xc6
s
\x9b\x9e
u
\xc0\x9f\xc7\x18
7
\xfb\x87\x7f\x1b\x07\x7f
@
\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xf0
'
),
84
,
64
,
framebuf
.
MONO_HLSB
)
oled
.
blit
(
baozounew
,
20
,
0
)
oled
.
show
()
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录