This repository was archived by the owner on Aug 1, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 340340
341341#### 功能说明
342342
343- > 进行DA转换并输出电压,最大3.7V
343+ > 进行DA转换并输出电压,最大3.3V
344344
345345> <img src =" /image/Units/DAC.webp " width =" 40% " >
346346
Original file line number Diff line number Diff line change @@ -483,39 +483,6 @@ wifi重新连接
483483
484484
485485
486- ## DAC
487-
488- #### 功能说明
489-
490- > 数模转换
491-
492- > <img src =" /image/Advanced module/DAC.webp " width =" 50% " >
493-
494- * __ Init in Pin__
495- 设置转换通道
496-
497- * __ write value__
498- 写入da值
499-
500- * __ beep with freq duration scale__
501- 设置蜂鸣器频率,时间和振幅
502-
503- * __ waveform with freq type duration scale offset invert__
504- 设置波形频率振幅偏移量
505-
506- * __ stop wave__
507- 停止输出
508-
509- * __ set freq__
510- 设置频率
511-
512- #### 使用说明
513-
514- > 使用dac0通道在25引脚输出波形
515-
516- > <img src =" /image/Advanced module/DAC_user.webp " width =" 50% " >
517-
518-
519486
520487## I2C
521488
Original file line number Diff line number Diff line change 4242
4343> <img src =" /image/Operation/Math.webp " width =" 30% " >
4444
45- * __ 常量 __
45+ * __ Constant __
4646填写任意数字,然后连接到其他的对象上用作赋值
4747
48- * __ 常用运算 __
48+ * __ Common operation __
4949在式子的两边添加数据进行加减乘除幂运算
5050
51- * __ 求余 __
51+ * __ Surplus __
5252在式子两边添加数据,进行求余
5353
54- * __ 特殊数判断 __
54+ * __ Special number judgment __
5555添加一个数值,设定判断是否为成立(例如判断是否为奇数或偶数或质数),符合时为True,否则为False
5656
57- * __ 数组计算 __
57+ * __ Array calculation __
5858对一个数组进行求和,求最大值或最小值,平均数等计算
5959
60- * __ 舍入 __
60+ * __ round __
6161对小数进行四舍五入或者上舍下舍
6262
63- * __ 高级数学计算 __
63+ * __ advance operation __
6464求三角函数、绝对值等运算
6565
66- * __ 转换为整数 __
66+ * __ Convert to int __
6767将数值转为整数
6868
69- * __ 转换为浮点数 __
69+ * __ Convert to float __
7070将数值转为浮点数
7171
7272
140140> 如果说变量是一个容器,那么数组就是由很多个容器组成的一个集合体,我们可以对数组里的任何一个变量进行赋值,获取
141141
142142> <img src =" /image/Operation/List.webp " width =" 40% " >
143+
143144* __ length of__
144145测量数组的长度(即数组中元素的个数)
146+
145147* __ X is empty__
146148判断一个数组是否为空,成立时式子为True,否则为False
149+
147150* __ in list find__
148151数组索引,索引正序或倒序的某个指定元素
152+
149153* __ create empty list__
150154添加一个数值,设定判断是否为成立(例如判断是否为奇数或偶数或质数),符合时为True,否则为False
155+
151156* __ create list with__
152157自定义一个数组
158+
153159* __ in list get__
154160获取数组某个索引元素值
161+
155162* __ in list get sub-list from__
156163从数组中截获元素作为新数组
164+
157165* __ icreat list with item repeated times__
158166建立一个数组,使用元素重复一定次数进行填充
167+
159168* __ reverse__
160169数组倒序排列
170+
161171* __ in list set as__
162172在数组中设置某个索引为指定值
173+
163174* __ make list from text with delimiter__
164175从文本建立数组,使用分隔符
165176
240251* __ Reduce to decimal places__
241252指定小数位数
242253
243- #### Instructions
244- >
254+ #### 使用方法
245255
246256> <img src =" /image/Operation/Text_user.webp " width =" 50% " >
Original file line number Diff line number Diff line change 1212</el-card >
1313
1414
15- ## RGB
15+ ## RGB Bar
1616
1717#### 功能说明
1818
137137
138138## POWER (M5StickC)
139139
140- #### 功能说明
140+ #### 功能说明
141141
142142> 设置AXP192相关参数.
143143
144144
145- > <img src =" /image/Hardwares/POWERAXP .webp " width =" 30% " >
145+ > <img src =" /image/Hardwares/PowerAXP .webp " width =" 30% " >
146146
147147* __ Get charge state__
148148返回充电状态
Original file line number Diff line number Diff line change 2525判断条件是否成立,当成立时执行Do右侧程序
2626
2727* __ if else__
28- 判断条件是否成立,当成立时执行Do,不成立时执行else
28+ 判断条件是否成立,当成立时执行Do右侧程序,不成立时执行else右侧程序
2929
3030* __ true__
3131布尔值可以代替判断条件的式子,设置为true为成立,设置false为不成立
Original file line number Diff line number Diff line change @@ -195,6 +195,7 @@ https://unicode-table.com/en/blocks/miscellaneous-technical/">点击查看详情
195195
196196
197197> <img src =" /image/Display/Emoji.webp " width =" 30% " >
198+
198199* __ Set emoji map in__
199200设置方阵像素点,勾选方阵中的小方格对应显示对应的像素点
200201
@@ -239,6 +240,21 @@ https://unicode-table.com/en/blocks/miscellaneous-technical/">点击查看详情
239240* __ rect__
240241绘制矩形
241242
243+ * __ triangle__
244+ 绘制三角形
245+
246+ * __ circle__
247+ 绘制圆
248+
249+ * __ ellipse__
250+ 绘制椭圆形
251+
252+ * __ arc__
253+ 绘制弧
254+
255+ * __ polygon__
256+ 绘制多边形
257+
242258#### 注意
243259
244260> M5GO的屏幕分辨率为320X240
@@ -257,6 +273,26 @@ https://unicode-table.com/en/blocks/miscellaneous-technical/">点击查看详情
257273
258274> 添加一些本地图片,到屏幕上显示(添加要求:大小为25K以下,格式为jpg或bmp)
259275
276+ > <img src =" /image/Display/image.webp " width =" 30% " >
277+
278+ * __ Show__
279+ 显示图片
280+
281+ * __ Hide__
282+ 隐藏图片
283+
284+ * __ Set x y__
285+ 设置图片所在的x,y坐标
286+
287+ * __ Set x__
288+ 设置图片所在的x坐标
289+
290+ * __ Set y__
291+ 设置图片所在的y坐标
292+
293+ * __ Set image__
294+ 设置图片为image0
295+
260296#### 添加图片
261297
262298> 首先用APIKey建立起设备与UIFlow的连接,点击页面右上角的云保存按钮,点击image选项,点击Add image从本地添加图片,等待图片上传完成
You can’t perform that action at this time.
0 commit comments