math
array
gc
sys
ubinascii
ucollections
uerrno
uhashlib
uheapq
uio
ujson
uos
ure
uselect
usocket
ustruct
utime
uzlib
cmath
btree
framebuf
machine
micropython
network
uctypes
pyb
screen
uturtle
ubitmap
text
在屏幕上输出文字,不绘制文字背景。 参数依次为:待输出的字符串、横坐标、纵坐标、文字颜色
代码:text.draw(‘red’,0,0,0xff0000)
确定显示文字的颜色和坐标,选择正确的积木块完成积木块的拼接。
选择积木块
修改文字和坐标
选择颜色
下载代码
加载到upycraft工具中
程序效果