Open ulrichard opened 9 years ago
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<cb:CODEBLOCKS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://education.mit.edu/openblocks/ns http://education.mit.edu/openblocks/codeblocks.xsd" xmlns:cb="http://education.mit.edu/openblocks/ns">
<Pages collapsible-pages="yes" drawer-with-page="yes">
<Page page-color="40 40 40" page-drawer="ArduBlock" page-infullview="yes" page-name="ArduBlock" page-width="1920">
<PageBlocks>
<Block genus-name="serial_println" id="719">
<Location>
<X>105</X>
<Y>1698</Y>
</Location>
<BeforeBlockId>927</BeforeBlockId>
<AfterBlockId>691</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="720" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="df_360_degree_rotation_motor" id="691">
<Location>
<X>105</X>
<Y>1728</Y>
</Location>
<BeforeBlockId>719</BeforeBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="692" connector-kind="socket" connector-type="number" init-type="number" label="pin#" position-type="single"/>
<BlockConnector con-block-id="693" connector-kind="socket" connector-type="number" init-type="number" label="Grad" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="variable_number" id="693">
<Label>rotR</Label>
<Location>
<X>375</X>
<Y>1755</Y>
</Location>
<Plug>
<BlockConnector con-block-id="691" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="number" id="692">
<Label>10</Label>
<Location>
<X>375</X>
<Y>1731</Y>
</Location>
<Plug>
<BlockConnector con-block-id="691" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="message" id="720">
<Label>Wheel Right:</Label>
<Location>
<X>225</X>
<Y>1701</Y>
</Location>
<Plug>
<BlockConnector con-block-id="719" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="single"/>
</Plug>
<Sockets num-sockets="1">
<BlockConnector con-block-id="721" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="glue_sn" id="721">
<Location>
<X>337</X>
<Y>1701</Y>
</Location>
<Plug>
<BlockConnector con-block-id="720" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="single"/>
</Plug>
<Sockets num-sockets="1">
<BlockConnector con-block-id="722" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="variable_number" id="722">
<Label>rotR</Label>
<Location>
<X>421</X>
<Y>1701</Y>
</Location>
<Plug>
<BlockConnector con-block-id="721" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="if" id="927">
<Location>
<X>105</X>
<Y>1595</Y>
</Location>
<BeforeBlockId>750</BeforeBlockId>
<AfterBlockId>719</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="928" connector-kind="socket" connector-type="boolean" init-type="boolean" label="teste" position-type="single"/>
<BlockConnector con-block-id="931" connector-kind="socket" connector-type="cmd" init-type="cmd" label="dann" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="setter_variable_number" id="931">
<Location>
<X>198</X>
<Y>1631</Y>
</Location>
<BeforeBlockId>927</BeforeBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="932" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="933" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="addition" id="933">
<Location>
<X>458</X>
<Y>1658</Y>
</Location>
<Plug>
<BlockConnector con-block-id="931" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
<Sockets num-sockets="2">
<BlockConnector con-block-id="934" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
<BlockConnector con-block-id="935" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
</Sockets>
</Block>
<Block genus-name="variable_number" id="935">
<Label>fullCircle</Label>
<Location>
<X>567</X>
<Y>1661</Y>
</Location>
<Plug>
<BlockConnector con-block-id="933" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="934">
<Label>rotR</Label>
<Location>
<X>468</X>
<Y>1661</Y>
</Location>
<Plug>
<BlockConnector con-block-id="933" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="932">
<Label>rotR</Label>
<Location>
<X>458</X>
<Y>1634</Y>
</Location>
<Plug>
<BlockConnector con-block-id="931" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="less" id="928">
<Location>
<X>201</X>
<Y>1598</Y>
</Location>
<Plug>
<BlockConnector con-block-id="927" connector-kind="plug" connector-type="boolean" init-type="boolean" label="" position-type="mirror"/>
</Plug>
<Sockets num-sockets="2">
<BlockConnector con-block-id="929" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
<BlockConnector con-block-id="930" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
</Sockets>
</Block>
<Block genus-name="number" id="930">
<Label>0</Label>
<Location>
<X>310</X>
<Y>1601</Y>
</Location>
<Plug>
<BlockConnector con-block-id="928" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="929">
<Label>rotR</Label>
<Location>
<X>211</X>
<Y>1601</Y>
</Location>
<Plug>
<BlockConnector con-block-id="928" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="serial_println" id="723">
<Location>
<X>103</X>
<Y>1152</Y>
</Location>
<BeforeBlockId>917</BeforeBlockId>
<AfterBlockId>688</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="724" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="df_360_degree_rotation_motor" id="688">
<Location>
<X>103</X>
<Y>1182</Y>
</Location>
<BeforeBlockId>723</BeforeBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="689" connector-kind="socket" connector-type="number" init-type="number" label="pin#" position-type="single"/>
<BlockConnector con-block-id="366" connector-kind="socket" connector-type="number" init-type="number" label="Grad" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="variable_number" id="366">
<Label>rotL</Label>
<Location>
<X>373</X>
<Y>1209</Y>
</Location>
<Plug>
<BlockConnector con-block-id="688" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="number" id="689">
<Label>9</Label>
<Location>
<X>373</X>
<Y>1185</Y>
</Location>
<Plug>
<BlockConnector con-block-id="688" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="message" id="724">
<Label>Wheel Left:</Label>
<Location>
<X>223</X>
<Y>1155</Y>
</Location>
<Plug>
<BlockConnector con-block-id="723" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="single"/>
</Plug>
<Sockets num-sockets="1">
<BlockConnector con-block-id="725" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="glue_sn" id="725">
<Location>
<X>329</X>
<Y>1155</Y>
</Location>
<Plug>
<BlockConnector con-block-id="724" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="single"/>
</Plug>
<Sockets num-sockets="1">
<BlockConnector con-block-id="726" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="variable_number" id="726">
<Label>rotL</Label>
<Location>
<X>413</X>
<Y>1155</Y>
</Location>
<Plug>
<BlockConnector con-block-id="725" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="number" id="926">
<Label>0</Label>
<Location>
<X>308</X>
<Y>1055</Y>
</Location>
<Plug>
<BlockConnector con-block-id="918" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="919">
<Label>rotL</Label>
<Location>
<X>209</X>
<Y>1055</Y>
</Location>
<Plug>
<BlockConnector con-block-id="918" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="less" id="918">
<Location>
<X>199</X>
<Y>1052</Y>
</Location>
<Plug>
<BlockConnector con-block-id="917" connector-kind="plug" connector-type="boolean" init-type="boolean" label="" position-type="mirror"/>
</Plug>
<Sockets num-sockets="2">
<BlockConnector con-block-id="919" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
<BlockConnector con-block-id="926" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
</Sockets>
</Block>
<Block genus-name="if" id="917">
<Location>
<X>103</X>
<Y>1049</Y>
</Location>
<BeforeBlockId>728</BeforeBlockId>
<AfterBlockId>723</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="918" connector-kind="socket" connector-type="boolean" init-type="boolean" label="teste" position-type="single"/>
<BlockConnector con-block-id="921" connector-kind="socket" connector-type="cmd" init-type="cmd" label="dann" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="setter_variable_number" id="921">
<Location>
<X>196</X>
<Y>1085</Y>
</Location>
<BeforeBlockId>917</BeforeBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="922" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="923" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="addition" id="923">
<Location>
<X>456</X>
<Y>1112</Y>
</Location>
<Plug>
<BlockConnector con-block-id="921" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
<Sockets num-sockets="2">
<BlockConnector con-block-id="924" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
<BlockConnector con-block-id="925" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
</Sockets>
</Block>
<Block genus-name="variable_number" id="925">
<Label>fullCircle</Label>
<Location>
<X>565</X>
<Y>1115</Y>
</Location>
<Plug>
<BlockConnector con-block-id="923" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="924">
<Label>rotL</Label>
<Location>
<X>466</X>
<Y>1115</Y>
</Location>
<Plug>
<BlockConnector con-block-id="923" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="922">
<Label>rotL</Label>
<Location>
<X>456</X>
<Y>1088</Y>
</Location>
<Plug>
<BlockConnector con-block-id="921" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="subroutine" id="914">
<Label>WheelRight</Label>
<Location>
<X>16</X>
<Y>1426</Y>
</Location>
<Sockets num-sockets="1">
<BlockConnector con-block-id="348" connector-kind="socket" connector-type="cmd" init-type="cmd" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="setter_variable_number" id="348">
<Location>
<X>105</X>
<Y>1434</Y>
</Location>
<BeforeBlockId>914</BeforeBlockId>
<AfterBlockId>750</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="349" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="363" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="if" id="750">
<Location>
<X>105</X>
<Y>1492</Y>
</Location>
<BeforeBlockId>348</BeforeBlockId>
<AfterBlockId>927</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="751" connector-kind="socket" connector-type="boolean" init-type="boolean" label="teste" position-type="single"/>
<BlockConnector con-block-id="754" connector-kind="socket" connector-type="cmd" init-type="cmd" label="dann" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="setter_variable_number" id="754">
<Location>
<X>198</X>
<Y>1528</Y>
</Location>
<BeforeBlockId>750</BeforeBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="755" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="756" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="subtraction" id="756">
<Location>
<X>458</X>
<Y>1555</Y>
</Location>
<Plug>
<BlockConnector con-block-id="754" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
<Sockets num-sockets="2">
<BlockConnector con-block-id="757" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
<BlockConnector con-block-id="758" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
</Sockets>
</Block>
<Block genus-name="variable_number" id="758">
<Label>fullCircle</Label>
<Location>
<X>567</X>
<Y>1558</Y>
</Location>
<Plug>
<BlockConnector con-block-id="756" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="757">
<Label>rotR</Label>
<Location>
<X>468</X>
<Y>1558</Y>
</Location>
<Plug>
<BlockConnector con-block-id="756" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="755">
<Label>rotR</Label>
<Location>
<X>458</X>
<Y>1531</Y>
</Location>
<Plug>
<BlockConnector con-block-id="754" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="greater" id="751">
<Location>
<X>201</X>
<Y>1495</Y>
</Location>
<Plug>
<BlockConnector con-block-id="750" connector-kind="plug" connector-type="boolean" init-type="boolean" label="" position-type="mirror"/>
</Plug>
<Sockets num-sockets="2">
<BlockConnector con-block-id="752" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
<BlockConnector con-block-id="753" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
</Sockets>
</Block>
<Block genus-name="variable_number" id="753">
<Label>fullCircle</Label>
<Location>
<X>310</X>
<Y>1498</Y>
</Location>
<Plug>
<BlockConnector con-block-id="751" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="752">
<Label>rotR</Label>
<Location>
<X>211</X>
<Y>1498</Y>
</Location>
<Plug>
<BlockConnector con-block-id="751" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="addition" id="363">
<Location>
<X>365</X>
<Y>1461</Y>
</Location>
<Plug>
<BlockConnector con-block-id="348" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
<Sockets num-sockets="2">
<BlockConnector con-block-id="364" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
<BlockConnector con-block-id="365" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
</Sockets>
</Block>
<Block genus-name="variable_number" id="365">
<Label>incrR</Label>
<Location>
<X>474</X>
<Y>1464</Y>
</Location>
<Plug>
<BlockConnector con-block-id="363" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="364">
<Label>rotR</Label>
<Location>
<X>375</X>
<Y>1464</Y>
</Location>
<Plug>
<BlockConnector con-block-id="363" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="349">
<Label>rotR</Label>
<Location>
<X>365</X>
<Y>1437</Y>
</Location>
<Plug>
<BlockConnector con-block-id="348" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="loop" id="169">
<Location>
<X>20</X>
<Y>388</Y>
</Location>
<Sockets num-sockets="1">
<BlockConnector con-block-id="912" connector-kind="socket" connector-type="cmd" init-type="cmd" label="do" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="subroutine-ref" id="912">
<Label>MeasureDistance</Label>
<Location>
<X>213</X>
<Y>396</Y>
</Location>
<BeforeBlockId>169</BeforeBlockId>
<AfterBlockId>915</AfterBlockId>
</Block>
<Block genus-name="subroutine-ref" id="915">
<Label>WheelLeft</Label>
<Location>
<X>213</X>
<Y>420</Y>
</Location>
<BeforeBlockId>912</BeforeBlockId>
<AfterBlockId>916</AfterBlockId>
</Block>
<Block genus-name="subroutine-ref" id="916">
<Label>WheelRight</Label>
<Location>
<X>213</X>
<Y>444</Y>
</Location>
<BeforeBlockId>915</BeforeBlockId>
<AfterBlockId>374</AfterBlockId>
</Block>
<Block genus-name="delay" id="374">
<Location>
<X>213</X>
<Y>468</Y>
</Location>
<BeforeBlockId>916</BeforeBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="375" connector-kind="socket" connector-type="number" init-type="number" label="Millisekunden" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="number" id="375">
<Label>100</Label>
<Location>
<X>357</X>
<Y>471</Y>
</Location>
<Plug>
<BlockConnector con-block-id="374" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="subroutine" id="911">
<Label>MeasureDistance</Label>
<Location>
<X>20</X>
<Y>530</Y>
</Location>
<Sockets num-sockets="1">
<BlockConnector con-block-id="183" connector-kind="socket" connector-type="cmd" init-type="cmd" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="setter_variable_number" id="183">
<Location>
<X>145</X>
<Y>538</Y>
</Location>
<BeforeBlockId>911</BeforeBlockId>
<AfterBlockId>528</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="184" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="157" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="serial_println" id="528">
<Location>
<X>145</X>
<Y>668</Y>
</Location>
<BeforeBlockId>183</BeforeBlockId>
<AfterBlockId>186</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="694" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="if" id="186">
<Location>
<X>145</X>
<Y>698</Y>
</Location>
<BeforeBlockId>528</BeforeBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="187" connector-kind="socket" connector-type="boolean" init-type="boolean" label="teste" position-type="single"/>
<BlockConnector con-block-id="368" connector-kind="socket" connector-type="cmd" init-type="cmd" label="dann" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="setter_variable_number" id="368">
<Location>
<X>238</X>
<Y>734</Y>
</Location>
<BeforeBlockId>186</BeforeBlockId>
<AfterBlockId>371</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="369" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="370" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="setter_variable_number" id="371">
<Location>
<X>238</X>
<Y>788</Y>
</Location>
<BeforeBlockId>368</BeforeBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="372" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="373" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="number" id="373">
<Label>0</Label>
<Location>
<X>498</X>
<Y>815</Y>
</Location>
<Plug>
<BlockConnector con-block-id="371" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="372">
<Label>incrR</Label>
<Location>
<X>498</X>
<Y>791</Y>
</Location>
<Plug>
<BlockConnector con-block-id="371" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="number" id="370">
<Label>0</Label>
<Location>
<X>498</X>
<Y>761</Y>
</Location>
<Plug>
<BlockConnector con-block-id="368" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="369">
<Label>incrL</Label>
<Location>
<X>498</X>
<Y>737</Y>
</Location>
<Plug>
<BlockConnector con-block-id="368" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="less" id="187">
<Location>
<X>241</X>
<Y>701</Y>
</Location>
<Plug>
<BlockConnector con-block-id="186" connector-kind="plug" connector-type="boolean" init-type="boolean" label="" position-type="mirror"/>
</Plug>
<Sockets num-sockets="2">
<BlockConnector con-block-id="188" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
<BlockConnector con-block-id="189" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
</Sockets>
</Block>
<Block genus-name="variable_number" id="189">
<Label>stopdistance</Label>
<Location>
<X>378</X>
<Y>704</Y>
</Location>
<Plug>
<BlockConnector con-block-id="187" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="188">
<Label>currdist</Label>
<Location>
<X>251</X>
<Y>704</Y>
</Location>
<Plug>
<BlockConnector con-block-id="187" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="message" id="694">
<Label>distance:</Label>
<Location>
<X>265</X>
<Y>671</Y>
</Location>
<Plug>
<BlockConnector con-block-id="528" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="single"/>
</Plug>
<Sockets num-sockets="1">
<BlockConnector con-block-id="530" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="glue_sn" id="530">
<Location>
<X>357</X>
<Y>671</Y>
</Location>
<Plug>
<BlockConnector con-block-id="694" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="single"/>
</Plug>
<Sockets num-sockets="1">
<BlockConnector con-block-id="531" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="variable_number" id="531">
<Label>currdist</Label>
<Location>
<X>441</X>
<Y>671</Y>
</Location>
<Plug>
<BlockConnector con-block-id="530" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="ultrasonic" id="157">
<Location>
<X>405</X>
<Y>565</Y>
</Location>
<Plug>
<BlockConnector con-block-id="183" connector-kind="plug" connector-type="number" init-type="number" label="cm" position-type="single"/>
</Plug>
<Sockets num-sockets="2">
<BlockConnector con-block-id="158" connector-kind="socket" connector-type="number" init-type="number" label="trigger #" position-type="single"/>
<BlockConnector con-block-id="159" connector-kind="socket" connector-type="number" init-type="number" label="echo #" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="number" id="159">
<Label>5</Label>
<Location>
<X>595</X>
<Y>589</Y>
</Location>
<Plug>
<BlockConnector con-block-id="157" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="number" id="158">
<Label>4</Label>
<Location>
<X>595</X>
<Y>565</Y>
</Location>
<Plug>
<BlockConnector con-block-id="157" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="184">
<Label>currdist</Label>
<Location>
<X>405</X>
<Y>541</Y>
</Location>
<Plug>
<BlockConnector con-block-id="183" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="if" id="728">
<Location>
<X>103</X>
<Y>946</Y>
</Location>
<BeforeBlockId>351</BeforeBlockId>
<AfterBlockId>917</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="729" connector-kind="socket" connector-type="boolean" init-type="boolean" label="teste" position-type="single"/>
<BlockConnector con-block-id="736" connector-kind="socket" connector-type="cmd" init-type="cmd" label="dann" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="setter_variable_number" id="736">
<Location>
<X>196</X>
<Y>982</Y>
</Location>
<BeforeBlockId>728</BeforeBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="737" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="738" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="subtraction" id="738">
<Location>
<X>456</X>
<Y>1009</Y>
</Location>
<Plug>
<BlockConnector con-block-id="736" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
<Sockets num-sockets="2">
<BlockConnector con-block-id="739" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
<BlockConnector con-block-id="740" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
</Sockets>
</Block>
<Block genus-name="variable_number" id="740">
<Label>fullCircle</Label>
<Location>
<X>565</X>
<Y>1012</Y>
</Location>
<Plug>
<BlockConnector con-block-id="738" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="739">
<Label>rotL</Label>
<Location>
<X>466</X>
<Y>1012</Y>
</Location>
<Plug>
<BlockConnector con-block-id="738" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="737">
<Label>rotL</Label>
<Location>
<X>456</X>
<Y>985</Y>
</Location>
<Plug>
<BlockConnector con-block-id="736" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="greater" id="729">
<Location>
<X>199</X>
<Y>949</Y>
</Location>
<Plug>
<BlockConnector con-block-id="728" connector-kind="plug" connector-type="boolean" init-type="boolean" label="" position-type="mirror"/>
</Plug>
<Sockets num-sockets="2">
<BlockConnector con-block-id="730" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
<BlockConnector con-block-id="735" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
</Sockets>
</Block>
<Block genus-name="variable_number" id="735">
<Label>fullCircle</Label>
<Location>
<X>308</X>
<Y>952</Y>
</Location>
<Plug>
<BlockConnector con-block-id="729" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="730">
<Label>rotL</Label>
<Location>
<X>209</X>
<Y>952</Y>
</Location>
<Plug>
<BlockConnector con-block-id="729" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="setter_variable_number" id="351">
<Location>
<X>103</X>
<Y>888</Y>
</Location>
<BeforeBlockId>913</BeforeBlockId>
<AfterBlockId>728</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="352" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="354" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="addition" id="354">
<Location>
<X>363</X>
<Y>915</Y>
</Location>
<Plug>
<BlockConnector con-block-id="351" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
<Sockets num-sockets="2">
<BlockConnector con-block-id="358" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
<BlockConnector con-block-id="362" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
</Sockets>
</Block>
<Block genus-name="variable_number" id="362">
<Label>incrL</Label>
<Location>
<X>472</X>
<Y>918</Y>
</Location>
<Plug>
<BlockConnector con-block-id="354" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="358">
<Label>rotL</Label>
<Location>
<X>373</X>
<Y>918</Y>
</Location>
<Plug>
<BlockConnector con-block-id="354" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="352">
<Label>rotL</Label>
<Location>
<X>363</X>
<Y>891</Y>
</Location>
<Plug>
<BlockConnector con-block-id="351" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="subroutine" id="913">
<Label>WheelLeft</Label>
<Location>
<X>20</X>
<Y>880</Y>
</Location>
<Sockets num-sockets="1">
<BlockConnector con-block-id="351" connector-kind="socket" connector-type="cmd" init-type="cmd" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="setter_variable_number" id="732">
<Location>
<X>20</X>
<Y>290</Y>
</Location>
<BeforeBlockId>359</BeforeBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="733" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="734" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="number" id="734">
<Label>360</Label>
<Location>
<X>280</X>
<Y>317</Y>
</Location>
<Plug>
<BlockConnector con-block-id="732" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="733">
<Label>fullCircle</Label>
<Location>
<X>280</X>
<Y>293</Y>
</Location>
<Plug>
<BlockConnector con-block-id="732" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="setter_variable_number" id="180">
<Location>
<X>20</X>
<Y>20</Y>
</Location>
<AfterBlockId>342</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="181" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="182" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="setter_variable_number" id="342">
<Location>
<X>20</X>
<Y>74</Y>
</Location>
<BeforeBlockId>180</BeforeBlockId>
<AfterBlockId>345</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="343" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="344" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="setter_variable_number" id="345">
<Location>
<X>20</X>
<Y>128</Y>
</Location>
<BeforeBlockId>342</BeforeBlockId>
<AfterBlockId>355</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="346" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="347" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="setter_variable_number" id="355">
<Location>
<X>20</X>
<Y>182</Y>
</Location>
<BeforeBlockId>345</BeforeBlockId>
<AfterBlockId>359</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="356" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="357" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="setter_variable_number" id="359">
<Location>
<X>20</X>
<Y>236</Y>
</Location>
<BeforeBlockId>355</BeforeBlockId>
<AfterBlockId>732</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="360" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="361" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="number" id="361">
<Label>2</Label>
<Location>
<X>280</X>
<Y>263</Y>
</Location>
<Plug>
<BlockConnector con-block-id="359" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="360">
<Label>incrR</Label>
<Location>
<X>280</X>
<Y>239</Y>
</Location>
<Plug>
<BlockConnector con-block-id="359" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="number" id="357">
<Label>-2</Label>
<Location>
<X>280</X>
<Y>209</Y>
</Location>
<Plug>
<BlockConnector con-block-id="355" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="356">
<Label>incrL</Label>
<Location>
<X>280</X>
<Y>185</Y>
</Location>
<Plug>
<BlockConnector con-block-id="355" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="number" id="347">
<Label>0</Label>
<Location>
<X>280</X>
<Y>155</Y>
</Location>
<Plug>
<BlockConnector con-block-id="345" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="346">
<Label>rotR</Label>
<Location>
<X>280</X>
<Y>131</Y>
</Location>
<Plug>
<BlockConnector con-block-id="345" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="number" id="344">
<Label>0</Label>
<Location>
<X>280</X>
<Y>101</Y>
</Location>
<Plug>
<BlockConnector con-block-id="342" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="343">
<Label>rotL</Label>
<Location>
<X>280</X>
<Y>77</Y>
</Location>
<Plug>
<BlockConnector con-block-id="342" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="number" id="182">
<Label>0</Label>
<Location>
<X>280</X>
<Y>47</Y>
</Location>
<Plug>
<BlockConnector con-block-id="180" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="181">
<Label>stopdistance</Label>
<Location>
<X>280</X>
<Y>23</Y>
</Location>
<Plug>
<BlockConnector con-block-id="180" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
</PageBlocks>
</Page>
</Pages>
</cb:CODEBLOCKS>
Thanks for the contribution and please send me a pull request for the modification. ;)
I have a number of "set analog variable" blocks in ardublock. The assignment of all of them is correctly in the setup function. But they all get initialized to 0, eventhoug they should be set to different values.