1 line
2.1 KiB
XML
1 line
2.1 KiB
XML
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="3W)Qcgc!z4s5Ho)WFl]," x="0" y="53"><field name="VALUE">IIC通信:主机发送字符a、b、c</field></block><block type="base_setup" id="O2|Y?g/J;3MNA}[kZ8%#" x="0" y="118"><statement name="DO"><block type="i2c_master_Init" id="T}wjVmh.vk0DgS*f9h$G"></block></statement></block><block type="controls_for" id="(H+_O$cAY*c]lxl~d@3{" x="0" y="209"><field name="VAR">i</field><value name="FROM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="-~6w|@jGn6{qICVDDGRg"><field name="NUM">1</field></shadow><block type="char_to_ascii" id="H~aLHLTI;U[?RvWtab%u"><field name="TEXT">a</field></block></value><value name="TO"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="jbCprakNGSZQ#!$BOX~="><field name="NUM">10</field></shadow><block type="char_to_ascii" id="NZqUJz/_OC6:kng[QT?r"><field name="TEXT">c</field></block></value><value name="STEP"><shadow type="math_number" id="2mP6g@BKI50ZhoeUnL1~"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="i2c_begin_end_transmission" id="THUq!6c{FyTMCL8-Cauj"><value name="i2c_address"><shadow type="math_number" id="rnI2*$C:?HtrI#L=1T?+"><field name="NUM">4</field></shadow></value><statement name="transmission_data"><block type="i2c_write" id="kDKfvP)jt{qm#mO{!~}I"><value name="i2c_write_data"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="4xmSo9lt-xl/+s0MF[yj"><field name="TEXT"></field></shadow><block type="ascii_to_char" id="%j(]T;IWSch[M8AoM4-b"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="z2^#[j6Z4|k6+UWtsYxq"><field name="NUM">223</field></shadow><block type="variables_get" id="v}o$;w-rk/TPe[M0_nHY"><field name="VAR">i</field></block></value></block></value><next><block type="controls_delay" id="XA;:XbLz{*h=whn*7])h"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="4.t7TQXe8?Wri@M4}|vV"><field name="NUM">1000</field></shadow></value></block></next></block></statement></block></statement></block></xml> |