1 Star 0 Fork 1

Jeffrey/arduino_mixly

forked from FISH-O/arduino_mixly 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
20210124-2期-RGB进阶用法.mix 4.66 KB
一键复制 编辑 原始数据 按行查看 历史
liuliang 提交于 2021-01-30 09:56 . 添加文件
<xml version=\"0.997\" board=\"Arduino/Genuino Uno\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"base_setup\" id=\"^:f5(gTSrA6Je+;%yU,=\" x=\"-875\" y=\"-18\"><statement name=\"DO\"><block type=\"display_rgb_init\" id=\"F6Ken.ime_?apEqy/hyY\"><value name=\"PIN\"><shadow type=\"pins_digital\" id=\"H4VexdaxCRD@~N?F/J;}\"><field name=\"PIN\">2</field></shadow></value><value name=\"LEDCOUNT\"><shadow type=\"math_number\" id=\":6czH|6KD.#CVl#^la]|\"><field name=\"NUM\">8</field></shadow></value><next><block type=\"variables_declare\" id=\"o)*C8p{{~)s*BVEruHuI\"><field name=\"VAR\">r</field><field name=\"TYPE\">int</field><value name=\"VALUE\"><block type=\"math_number\" id=\"{r69Z)M;7?z$wxWNo|}+\"><field name=\"NUM\">0</field></block></value><next><block type=\"variables_declare\" id=\"B-2:cGuD`4yamu|Tg+gS\"><field name=\"VAR\">g</field><field name=\"TYPE\">int</field><value name=\"VALUE\"><block type=\"math_number\" id=\"d*edqIO/5_Bds@.8TSg+\"><field name=\"NUM\">0</field></block></value><next><block type=\"variables_declare\" id=\"+5:#K0s6IQ3!ZdObKEZl\"><field name=\"VAR\">b</field><field name=\"TYPE\">int</field><value name=\"VALUE\"><block type=\"math_number\" id=\"0*vvTmS.f?g0UhC/1pCp\"><field name=\"NUM\">0</field></block></value></block></next></block></next></block></next></block></statement></block><block type=\"controls_for\" id=\"71:gb2yy$?8{PE-r[o#F\" x=\"-441\" y=\"198\"><field name=\"VAR\">i</field><value name=\"FROM\"><shadow type=\"math_number\" id=\"H=0V4S8KTCH#k}j|ike.\"><field name=\"NUM\">1</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\")2G:v.;Ff9RQGHC@+a8g\"><field name=\"NUM\">8</field></shadow></value><value name=\"STEP\"><shadow type=\"math_number\" id=\"qQ!%S)4MuyHeT!`:A^Vh\"><field name=\"NUM\">1</field></shadow></value><statement name=\"DO\"><block type=\"variables_set\" id=\"#Fvo!^mOIm/}rV[OD*+*\"><field name=\"VAR\">r</field><value name=\"VALUE\"><block type=\"math_random_int\" id=\"-^qrI*reI%B%kcWu%Jx$\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"el^KwW`.:*^=X7!HfKeF\"><field name=\"NUM\">1</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"+n~4AX?T7Vs_-Ka,CC_v\"><field name=\"NUM\">30</field></shadow></value></block></value><next><block type=\"variables_set\" id=\"nQG54K84P.1xQ)}M~(R6\"><field name=\"VAR\">g</field><value name=\"VALUE\"><block type=\"math_random_int\" id=\"-EZDq}vCoh`6BM8PxW^/\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"mD+Oi%x*4)mKZ}}@qo=j\"><field name=\"NUM\">1</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"g3u9$iRJ[vhp8{ukyucJ\"><field name=\"NUM\">30</field></shadow></value></block></value><next><block type=\"variables_set\" id=\"#4]$$[zp*zi1d@M0n?T?\"><field name=\"VAR\">b</field><value name=\"VALUE\"><block type=\"math_random_int\" id=\"hVJFcn~iei3@s69o7KKc\"><value name=\"FROM\"><shadow type=\"math_number\" id=\")K(zi:axVuc,QzFK2EgF\"><field name=\"NUM\">1</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"W%|!Hi9ic*_=Qi@z;o?M\"><field name=\"NUM\">30</field></shadow></value></block></value><next><block type=\"display_rgb\" id=\"@B+`DruGT()82JZ[,YBa\"><value name=\"PIN\"><shadow type=\"pins_digital\" id=\"~wyfS^}y#Opj36xDXyu@\"><field name=\"PIN\">2</field></shadow></value><value name=\"_LED_\"><shadow type=\"math_number\" id=\"zqRj-93M1J;q8WL+Ne[)\"><field name=\"NUM\">1</field></shadow><block type=\"variables_get\" id=\"^3Tc8mFsa2B0tE+7AZBQ\"><field name=\"VAR\">i</field></block></value><value name=\"RVALUE\"><shadow type=\"math_number\" id=\"7S_FGOB6G)uD_$1o#{~]\"><field name=\"NUM\">255</field></shadow><block type=\"variables_get\" id=\"AsCzikS.^U]zXfP~kXX=\"><field name=\"VAR\">r</field></block></value><value name=\"GVALUE\"><shadow type=\"math_number\" id=\"$#zgw@HZBT,%|50L|CKG\"><field name=\"NUM\">0</field></shadow><block type=\"variables_get\" id=\"dpRTNwb:+;)Pi$W,se4r\"><field name=\"VAR\">g</field></block></value><value name=\"BVALUE\"><shadow type=\"math_number\" id=\"RcFphL-e3qxrsgqO|qh|\"><field name=\"NUM\">0</field></shadow><block type=\"variables_get\" id=\"fTW4Mq@OBgOk]n+gElHq\"><field name=\"VAR\">b</field></block></value><next><block type=\"base_delay\" id=\"j*mEo`^9$$(=+EF0rq0n\"><field name=\"UNIT\">delay</field><value name=\"DELAY_TIME\"><shadow type=\"math_number\" id=\"7qQhu7rfu??fx|d@o*j7\"><field name=\"NUM\">10</field></shadow></value></block></next></block></next></block></next></block></next></block></statement><next><block type=\"base_delay\" id=\"JQnu;H5HM%w.`%bnm67$\"><field name=\"UNIT\">delay</field><value name=\"DELAY_TIME\"><shadow type=\"math_number\" id=\"szq5[,sVV;~}ZTWi)pfV\"><field name=\"NUM\">100</field></shadow></value></block></next></block></xml>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Arduino
1
https://gitee.com/Jeffreyyellow/arduino_mixly.git
git@gitee.com:Jeffreyyellow/arduino_mixly.git
Jeffreyyellow
arduino_mixly
arduino_mixly
master

搜索帮助