初始化提交

This commit is contained in:
王立帮
2024-07-19 10:16:00 +08:00
parent 4c7b571f20
commit 4a2d56dcc4
7084 changed files with 741212 additions and 63 deletions

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="7E(N@4A|g*a^4jr6gy19" x="-269" y="52"><field name="VALUE">超声波测距\n超声波传感器trig接D2Echo接D3\n串口输出超声波传感器检测的距离值</field><next><block type="serial_begin" id=":W`^4cqg!JfN4NG/5XNQ"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="8i#5Ge^HVC$}U~!B,[5D"><field name="NUM">9600</field></shadow></value><next><block type="serial_print" id="9{^PL0M#}h1}|pPs$~t2"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join2" id="PI9nZSH#Z%HM=3_hGY[}" inline="false"><mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation><value name="ADD0"><block type="text" id="q}n1A$9LQ;bUVzTvHh8v"><field name="TEXT">距离:</field></block></value><value name="ADD1"><block type="chaoshengbo2" id="}6(#2s/N5eOU9~Q%iUde"><field name="Trig">2</field><field name="Echo">3</field></block></value><value name="ADD2"><block type="text" id="to{OQf@dAz)Rz.KAtr0p"><field name="TEXT">cm</field></block></value></block></value><next><block type="controls_delay" id="SD)NQecJy;P0he#_H]g#"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="nuOv.Yh|%r@7O|yR/St8"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="k0!2|oIL/3,aApu*7lXz" x="-1413" y="102"><field name="VALUE">温湿度计\nDHT11接D4LCD1402接IIC接口\n将看到LCD上显示温度和温度及单位\n注摄氏度符号由小圆圈对应的ASCII码是0xdf后面是大写字母C组成</field><next><block type="group_lcd_init2" id="C0+RanPN!oc+vPC/Mal-"><field name="TYPE">16,2</field><field name="VAR">mylcd</field><field name="SCL">A5</field><field name="SDA">A4</field><value name="device"><shadow type="math_number" id="6LaV6T9o/zcL#G:SAaoU"><field name="NUM">0x3f</field></shadow></value><next><block type="group_lcd_print2" id="ZIt2Ow{bZhmo2~Hg|=Z`"><field name="VAR">mylcd</field><value name="row"><shadow type="math_number" id="P`)@toqpnbA#saH$V4/p"><field name="NUM">1</field></shadow></value><value name="column"><shadow type="math_number" id="@q[8a]k@b%zP-S(`8_HG"><field name="NUM">1</field></shadow></value><value name="TEXT"><block type="text_join" id="qynLveW%mq0[5yZ2iwSd"><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id=".D|mdhB^Nr=@r$u4q86X"><field name="TEXT">Hello</field></shadow><block type="DHT" id="rb3A#1RCk$(-4[hT|!C;"><field name="TYPE">11</field><field name="PIN">4</field><field name="WHAT">temperature</field></block></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="2A,P+PtZvxM%.Y_[2a!X"><field name="TEXT">Mixly</field></shadow><block type="text_join" id="?O}71{v6X$wm`pWhO?4x"><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="pEYr+gyMtXC`[^BFqs=+"><field name="TEXT">Hello</field></shadow><block type="ascii_to_char" id="Fxh~.t,l.iF-oM)E=pO/"><value name="VAR"><shadow type="math_number" id="UVpwd%dSrDM2wzpXHi^W"><field name="NUM">0xdf</field></shadow></value></block></value><value name="B"><shadow type="text" id="C52Ed7PFi)|z^8z3~;9z"><field name="TEXT">C</field></shadow></value></block></value></block></value><next><block type="group_lcd_print2" id="3opqsipYAgs8@fw0ok1S"><field name="VAR">mylcd</field><value name="row"><shadow type="math_number" id="OcB1MM]v`j}9Z%ZBL0~;"><field name="NUM">2</field></shadow></value><value name="column"><shadow type="math_number" id=")zQNXUyVga-ycQ7nKhEW"><field name="NUM">1</field></shadow></value><value name="TEXT"><block type="text_join" id="}9EoS|^^V~1a^QXFm::a"><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id=".D|mdhB^Nr=@r$u4q86X"><field name="TEXT">Hello</field></shadow><block type="DHT" id="@W~SxXiTk5D6(bS)%E?#"><field name="TYPE">11</field><field name="PIN">4</field><field name="WHAT">humidity</field></block></value><value name="B"><shadow type="text" id="2A,P+PtZvxM%.Y_[2a!X"><field name="TEXT">%</field></shadow></value></block></value><next><block type="controls_end_program" id="XU74o.eUpXm$TZdRuCqx"></block></next></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="N4f:Ou2)PaV}}s(pwR9V" x="-280" y="66"><field name="VALUE">DS18B20读取温度\nDS18B20连接在D2管脚串口打印出温度值\n注如果使用的DS18B20是散件则需要在电源线和信号线之间并联一个5K左右的电阻</field><next><block type="serial_begin" id=":W`^4cqg!JfN4NG/5XNQ"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="8i#5Ge^HVC$}U~!B,[5D"><field name="NUM">9600</field></shadow></value><next><block type="serial_print" id="9{^PL0M#}h1}|pPs$~t2"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join2" id="PI9nZSH#Z%HM=3_hGY[}" inline="false"><mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation><value name="ADD0"><block type="text" id="q}n1A$9LQ;bUVzTvHh8v"><field name="TEXT">温度:</field></block></value><value name="ADD1"><block type="ds18b20" id="?EalijiGf#1B]T2{[^[9"><field name="PIN">2</field><field name="UNIT">0</field></block></value><value name="ADD2"><block type="text" id="to{OQf@dAz)Rz.KAtr0p"><field name="TEXT">℃</field></block></value></block></value><next><block type="serial_print" id="M3Re@i!JuKuwif=M^wvb"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join2" id="iANWn%y5!db],+2^jNi{" inline="false"><mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation><value name="ADD0"><block type="text" id="OA2rPi-EbZ@cvI~ivqE`"><field name="TEXT">温度:</field></block></value><value name="ADD1"><block type="ds18b20" id="VD/!E6bbA]ueK%h*|RD-"><field name="PIN">2</field><field name="UNIT">1</field></block></value><value name="ADD2"><block type="text" id="-9;eB;J.LT}R]/w$VR`4"><field name="TEXT">℉</field></block></value></block></value><next><block type="serial_print" id="w!6_4MHZlM~,Cc+9t;!3"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="$p:N_?;gF7@|]p82GJ0R"><field name="TEXT"></field></block></value><next><block type="controls_delay" id="SD)NQecJy;P0he#_H]g#"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="nuOv.Yh|%r@7O|yR/St8"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id=")9.sZi.,vs-39t,XG(0J" x="-4" y="115"><field name="VALUE">MLX90614测温\nMLX90614连接IIC接口\n</field><next><block type="serial_begin" id="]=n:t%mRFZ+$*Md1TiV;"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="Xr!-lU%j*vsA{P$^~,Ph"><field name="NUM">9600</field></shadow></value><next><block type="mlx90614_init" id="M,N1]_BMxk=|bQ+5yb2w"><value name="mlx90614_address"><shadow type="math_number" id="T@x)M9Tz=om{h=,e5q8H"><field name="NUM">0x5A</field></shadow></value><next><block type="serial_println" id="jSsWsM?t6?#53[A,n13I"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join2" id="joz1:3Rc?F0Z8D9g,LXc" inline="false"><mutation xmlns="http://www.w3.org/1999/xhtml" items="5"></mutation><value name="ADD0"><block type="text" id="lswwHKMk)/]=y#WdgcP["><field name="TEXT">目标物体温度:</field></block></value><value name="ADD1"><block type="mlx90614_get_data" id="#P?08/#2bez%tW44t`Mk"><field name="mlx90614_data">readObjectTempC</field></block></value><value name="ADD2"><block type="text" id="8{8?X2y==MtEu!tZraL."><field name="TEXT">℃ </field></block></value><value name="ADD3"><block type="mlx90614_get_data" id="lwnCU;8GGM=PBt?Dac{?"><field name="mlx90614_data">readObjectTempF</field></block></value><value name="ADD4"><block type="text" id="93=|ib3`0C*gF|Zi[%Ho"><field name="TEXT">℉</field></block></value></block></value><next><block type="serial_println" id="::?:Y2;CUhBHRdodC4Mw"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join2" id="/J=fN~q!{~hCx?H:uqOV" inline="false"><mutation xmlns="http://www.w3.org/1999/xhtml" items="5"></mutation><value name="ADD0"><block type="text" id=".{.n}!Fokj0}Iek;6+Ue"><field name="TEXT">周围环境温度:</field></block></value><value name="ADD1"><block type="mlx90614_get_data" id="zGS{1N_F;,h+Ue1:{iKh"><field name="mlx90614_data">readAmbientTempC</field></block></value><value name="ADD2"><block type="text" id="G6e16-i!]@M}(p/h_eXu"><field name="TEXT">℃ </field></block></value><value name="ADD3"><block type="mlx90614_get_data" id="}33[3uL)#L-.#+PzBq7N"><field name="mlx90614_data">readAmbientTempF</field></block></value><value name="ADD4"><block type="text" id="np[$6DC@+vVoDh$sq#A."><field name="TEXT">℉</field></block></value></block></value><next><block type="serial_println" id="L7l`*MG)PK4zF}qB/xWh"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="@eVBfV,Upb42C/oL^[Hy"><field name="TEXT">\\n\\n</field></block></value><next><block type="controls_delay" id="zQE@HSf7t3.1N#uhT/aO"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id=":AHY-KAPxL~e,ys_d/r`"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="aZ;}G6R[mCbbk@q:Oc1E" x="133" y="205"><field name="VALUE">TCS34725颜色识别传感器\nTCS34725传感器连接在IIC接口</field><next><block type="serial_begin" id="ex[?nXO%9K9HCFc:MfGS"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="8bHh.zD=_57#B^VGMeWG"><field name="NUM">9600</field></shadow></value><next><block type="serial_print" id="QD+)k,^i3{ZB(%j)?*6h"><field name="serial_select">Serial</field><field name="new_line">print</field><value name="CONTENT"><block type="text_join2" id="sBA,?~J:llMLn(7=_I+*" inline="false"><mutation xmlns="http://www.w3.org/1999/xhtml" items="6"></mutation><value name="ADD0"><block type="text" id="~l[d^khdT;Zge*(TtZZ["><field name="TEXT">R:</field></block></value><value name="ADD1"><block type="TCS34725_Get_RGB" id="3yj|+C0)+,/Z|uadH_2$"><field name="DF_TCS34725_COLOR">tcs34725.getRedToGamma()</field></block></value><value name="ADD2"><block type="text" id="V|;x`?,pc.J;+CiV%EGl"><field name="TEXT"> G:</field></block></value><value name="ADD3"><block type="TCS34725_Get_RGB" id="o)G~r-d_@DtOg_qGhi``"><field name="DF_TCS34725_COLOR">tcs34725.getGreenToGamma()</field></block></value><value name="ADD4"><block type="text" id="kA_7;D5`,fjopd/Tg90."><field name="TEXT"> B:</field></block></value><value name="ADD5"><block type="TCS34725_Get_RGB" id="GO4W1?AVHP6a=Ed5To=U"><field name="DF_TCS34725_COLOR">tcs34725.getBlueToGamma()</field></block></value></block></value><next><block type="serial_print" id="1~LyT:=q1r`49#F|z-AW"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="H(%#ic4TJ#E[.v@M!;U$"><field name="TEXT"></field></block></value><next><block type="controls_delay" id="4pJ767Z2?r|YzY-`jp/p"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="rmP}$qZ%Po.U0w=DSQm["><field name="NUM">500</field></shadow></value></block></next></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="X3T/a@3SFdv+e/:u_Zh]" x="-31" y="114"><field name="VALUE">TCS230颜色识别传感器</field><next><block type="serial_begin" id="w05ZBH(!d4Nx+4O:o$k9"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="a7WN9/K57zKgz4d|D13v"><field name="NUM">9600</field></shadow></value><next><block type="tcs230_init" id="-g#h:Oqd/P0VJ.^2_ABe"><value name="tcs230_s0"><shadow type="pins_digital" id="Z0Z#(1q7;~J8jjx]O@C{"><field name="PIN">2</field></shadow></value><value name="tcs230_s1"><shadow type="pins_digital" id="%+=@v2m*=s[Ntpq5Ub3s"><field name="PIN">3</field></shadow></value><value name="tcs230_s2"><shadow type="pins_digital" id="J`kAhot4j`F^RUR|Y^}~"><field name="PIN">4</field></shadow></value><value name="tcs230_s3"><shadow type="pins_digital" id="C_/5te01|-;8h^4L?T:b"><field name="PIN">5</field></shadow></value><value name="tcs230_led"><shadow type="pins_digital" id="M2(SY~CK^%PB{*dECa;;"><field name="PIN">6</field></shadow></value><value name="tcs230_out"><shadow type="pins_digital" id="KG)=/[k9]K/NsLsZu!zo"><field name="PIN">7</field></shadow></value><next><block type="serial_print" id="z[:D_kpxZej=X{^j`znE"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join2" id="Gm~L=|CDITGQOj-O~aNJ" inline="false"><mutation xmlns="http://www.w3.org/1999/xhtml" items="6"></mutation><value name="ADD0"><block type="text" id="e31noB[U;~fRtbeYxBQA"><field name="TEXT">R:</field></block></value><value name="ADD1"><block type="tcs230_Get_RGB" id="gZ0?]:07W:b:aV):=;U*"><field name="tcs230_color">R</field></block></value><value name="ADD2"><block type="text" id="*ja;:jbuL+Iy|o-cB)aR"><field name="TEXT"> G:</field></block></value><value name="ADD3"><block type="tcs230_Get_RGB" id="NPwgZV!LF`.vf#[rgQm]"><field name="tcs230_color">G</field></block></value><value name="ADD4"><block type="text" id="^:d*B_llp/C%kyh*ZSF3"><field name="TEXT"> B:</field></block></value><value name="ADD5"><block type="tcs230_Get_RGB" id="Fz!;{Xq7dA:[=LGcDZ"><field name="tcs230_color">B</field></block></value></block></value><next><block type="serial_print" id="=I;3Pm~Eg*6qXJV4,/2?"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="5T-^yV5YE)zlcq|CXkSO"><field name="TEXT"></field></block></value><next><block type="controls_delay" id="5W^%zOB8]{bO;Y}X;Pc}"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="!(KWm2%%fVSF/QWyi|d|"><field name="NUM">500</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="wW~HB.uP7}M-QoxlMuT5" x="61" y="-48"><field name="VALUE">串口输出日期\nDS102接线RST-D2,DAT-D3,CLK-D4</field><next><block type="serial_begin" id="t^$cE8-n1WmX#_ETL55,"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="X`5+?[@[g;cjix8dXyXJ"><field name="NUM">9600</field></shadow></value><next><block type="DS1302_init" id="K~9::`zX(qR(~Co6U.qF"><value name="RST"><shadow type="pins_digital" id="O}KibXsCQrvA_*!lWy0#"><field name="PIN">2</field></shadow></value><value name="DAT"><shadow type="pins_digital" id="yG)1rqR)o.u?G4B9215P"><field name="PIN">3</field></shadow></value><value name="CLK"><shadow type="pins_digital" id=",3.J[l|{ru_vTgMz^SbP"><field name="PIN">4</field></shadow></value><next><block type="serial_println" id="{G!m2HsDwRs}5{#1C_Rh"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join" id="f7)y0dPqOFv`mDre]OYN"><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="K;n.pVN;P,tpEpxM+JsA"><field name="TEXT">Hello</field></shadow><block type="text_join" id=",6Du{bL}NoWQ+%dgcfa_"><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="K;n.pVN;P,tpEpxM+JsA"><field name="TEXT">Hello</field></shadow><block type="RTC_get_time" id="jO%R4uscEmCJ5XoKdIT6"><field name="TIME_TYPE">Year</field></block></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="!#6E1093)^n$e5-4O=DG"><field name="TEXT">Mixly</field></shadow><block type="text_join" id="NcnC*a81C?BAdy`{Npkk"><value name="A"><shadow type="text" id="j}0xI5*sY{3I4),mktxo"><field name="TEXT">/</field></shadow></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="~R+VNrbI}@)!mvM)k.QY"><field name="TEXT">Mixly</field></shadow><block type="RTC_get_time" id="}Ksg1-]|-?OlK{uNhN+k"><field name="TIME_TYPE">Month</field></block></value></block></value></block></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="~R+VNrbI}@)!mvM)k.QY"><field name="TEXT">Mixly</field></shadow><block type="text_join" id="CO++K~*KqGzG0Lnvq.+T"><value name="A"><shadow type="text" id="Vk[}dUeN-|nU5M6$9dF,"><field name="TEXT">/</field></shadow></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="~R+VNrbI}@)!mvM)k.QY"><field name="TEXT">Mixly</field></shadow><block type="RTC_get_time" id="f]21Pcbp5#DXE#C@_4wV"><field name="TIME_TYPE">Day</field></block></value></block></value></block></value><next><block type="serial_print" id="l.cza#V+#vL}$GiSqk`?"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="h#bcg2HKH-Uf~4y)Fag-"><field name="TEXT"></field></block></value><next><block type="controls_delay" id="Y|Npn]LW}:)9*:cUu:E_"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="Pgq:[j9:1-Yy9ZkN;aiY"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="4UcFR-uv`bnig0nvtrf9" x="0" y="0"><statement name="DO"><block type="variables_declare" id="YArv.v[QPAs5wu#l0dnl"><field name="variables_type">global_variate</field><field name="VAR">char_key</field><field name="TYPE">char</field><value name="VALUE"><block type="text_char" id="NDF+WX@DHp,Db,`l@!(r"><field name="TEXT">a</field></block></value><next><block type="Arduino_keypad_4_4_start" id="yR8!(bNE*9aPavHQTTio"><field name="keypad_name">KEYPAD_4_4</field><value name="keypad_row"><block type="keypad_row_data" id="8xR_[n+!Fz~zt}4V]KW/"><value name="keypad_row_1"><shadow type="pins_digital" id="jQ$$$TA(OI[v8o8d_v2c"><field name="PIN">2</field></shadow></value><value name="keypad_row_2"><shadow type="pins_digital" id="5K`kpflH#lz{6p@@L(wA"><field name="PIN">3</field></shadow></value><value name="keypad_row_3"><shadow type="pins_digital" id=":Hibm!9;)xq=L}kNxf^A"><field name="PIN">4</field></shadow></value><value name="keypad_row_4"><shadow type="pins_digital" id="8{DU0t_%OA!$e4D}K19F"><field name="PIN">5</field></shadow></value></block></value><value name="keypad_col"><block type="keypad_col_data" id="bO?{3ft}lbv0jgRNi}oG"><value name="keypad_col_1"><shadow type="pins_digital" id="ad.J;#4{16m??xn.F)|."><field name="PIN">6</field></shadow></value><value name="keypad_col_2"><shadow type="pins_digital" id="$~YH?Q;8isS3{`Ia/xc)"><field name="PIN">7</field></shadow></value><value name="keypad_col_3"><shadow type="pins_digital" id="(]%PrK5{jM5QFcLA4d$="><field name="PIN">8</field></shadow></value><value name="keypad_col_4"><shadow type="pins_digital" id="D4#0=d+pp/At0/|P#oRc"><field name="PIN">9</field></shadow></value></block></value><value name="keypad_type"><block type="keypad_type_data" id="$j:OJo]O*;*4nAh.}c-d"><field name="keypad_1_1">1</field><field name="keypad_1_2">2</field><field name="keypad_1_3">3</field><field name="keypad_1_4">A</field><field name="keypad_2_1">4</field><field name="keypad_2_2">5</field><field name="keypad_2_3">6</field><field name="keypad_2_4">B</field><field name="keypad_3_1">7</field><field name="keypad_3_2">8</field><field name="keypad_3_3">9</field><field name="keypad_3_4">C</field><field name="keypad_4_1">*</field><field name="keypad_4_2">0</field><field name="keypad_4_3">#</field><field name="keypad_4_4">D</field></block></value></block></next></block></statement></block><block type="variables_set" id="*PGGuH$er@-e^t$,@@3j" x="0" y="317"><field name="VAR">char_key</field><value name="VALUE"><block type="get_keypad_num" id="gh[JFx]nY-K#K]KpkZ|h"><field name="keypad_name">KEYPAD_4_4</field></block></value><next><block type="controls_if" id="`W:hQ]$EEf`CXar=RLwM"><value name="IF0"><block type="variables_get" id="u-vkm],mPyZHm%_}bO=("><field name="VAR">char_key</field></block></value><statement name="DO0"><block type="serial_print" id=")ZO*wVcN@xtH7).?I6=b"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="variables_get" id="7227cyh+,[S3FAsoRzxw"><field name="VAR">char_key</field></block></value></block></statement></block></next></block></xml>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="serial_begin" id="x0Ee.qpxbW0iYm+0,hNy" x="-49" y="-80"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="CFyj}!3;O{;6?wkOq#xz"><field name="NUM">9600</field></shadow></value><next><block type="serial_println" id="372:HbP|ajAUcG%b[kyY"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join2" id=":m){7W5%`{x74oU6F8YX"><mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation><value name="ADD0"><block type="text" id=",VgP38YO;YRpd]Q}X4]V"><field name="TEXT">温度:</field></block></value><value name="ADD1"><block type="BME280_READ" id=";GODUsTRpXDmbOrX3I"><field name="TYPE">bme</field><field name="BME_TYPE">readTemperature()</field><value name="address"><shadow type="math_number" id="x?s9rlgY~^Z$g{^5/j-M"><field name="NUM">0x77</field></shadow></value></block></value><value name="ADD2"><block type="text" id="P~^6CWy3Y^/m=IrZokFI"><field name="TEXT">℃</field></block></value></block></value><next><block type="controls_delay" id="|LM-4®#mX_UWTniNb2"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="+()MyFw`ZvvvKgNrXn{s"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="L7{oJKPl/Yn@Vam6|Sw." x="-30" y="-29"><statement name="DO"><block type="PS2_init" id="#MOvZ31uyg9d/*m/bMT2"><field name="PS2_DAT">2</field><field name="PS2_CMD">4</field><field name="PS2_SEL">5</field><field name="PS2_CLK">12</field><field name="rumble">true</field><next><block type="serial_begin" id="bCq1^E~UQmH0$7(*^T[M"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="^6i}qkXUY;E2;B*!V2Ov"><field name="NUM">9600</field></shadow></value></block></next></block></statement></block><block type="simple_timer" id="B=eN-fYEcAy_,_@@}|={" x="0" y="92"><field name="NO">1</field><value name="timein"><shadow type="math_number" id="Nk[_umsDOAs:G]#sP|aa"><field name="NUM">1000</field></shadow></value><statement name="zxhs"><block type="PS2_update" id=".b.wh~QEsOpfevOm)nJ:"><next><block type="serial_println" id="efU?W+~Vr{C#P2)CWncX"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join" id="HYb+yG;cQc{}xOFeat:N"><value name="A"><shadow type="text" id=",*{VDGRv[|cYH(aekbB/"><field name="TEXT">Left_X:</field></shadow></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="$Dna5x}n@r#9ISV;}@sQ"><field name="TEXT">Mixly</field></shadow><block type="PS2_stk" id="YE^`S^-8eMv#lYTt)_Q!"><field name="psstk">PSS_LX</field></block></value></block></value><next><block type="serial_println" id="5d4wvEQ3cszYMp$F~l@;"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join" id="wjH@d!-;uiT3||hz%v8J"><value name="A"><shadow type="text" id="`g{m5L0GXPbdNIa|1y]N"><field name="TEXT">Right_X:</field></shadow></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="$Dna5x}n@r#9ISV;}@sQ"><field name="TEXT">Mixly</field></shadow><block type="PS2_stk" id="$h-ln.h;V9Bkp-pAI^f)"><field name="psstk">PSS_RY</field></block></value></block></value></block></next></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id=":7}WfioZi?:yEQD$ZOI-" x="102" y="97"><field name="VALUE">声控舵机\n\nA0接声音传感器D2接舵机\n舵机转动角度随音量大小在0-180之间来回转</field><next><block type="servo_move" id="]Akc4svhV~9n75IRz}t@"><field name="PIN">2</field><value name="DEGREE"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="?(PgFXBQ{Uk_8Fk(D/.P"><field name="NUM">0</field></shadow><block type="base_map" id="{RgO/~UOs,Wq--*W0zyY"><field name="maptype">map_int</field><value name="NUM"><block type="inout_analog_read" id="_k|xOL0_wGEr~MdRPZY."><value name="PIN"><shadow type="pins_analog" id="%_?*D#.r/68Zbgf#K2(c"><field name="PIN">A0</field></shadow></value></block></value><value name="fromLow"><shadow type="math_number" id="ti#9F*|/31y%cW?t{q3k"><field name="NUM">1</field></shadow></value><value name="fromHigh"><shadow type="math_number" id="kg(O,W(w{0]SvC7qKi0R"><field name="NUM">500</field></shadow></value><value name="toLow"><shadow type="math_number" id="BhkhVF?`{A?R/!uVqwsf"><field name="NUM">0</field></shadow></value><value name="toHigh"><shadow type="math_number" id="CXoJT1%u03N(w~8P=VoX"><field name="NUM">180</field></shadow></value></block></value><value name="DELAY_TIME"><shadow type="math_number" id="d!DVoo%zipBM4d=~Fy!%"><field name="NUM">100</field></shadow></value></block></next></block></xml>