a93febb5b7
* add image and deprecated arrow functions * update locales * map basic.showArrow * map arrow blocks * map & remove arrow images * remove arrow blocks * update locales * remove & patch: rgbw -> rgb button/pin pressed -> button/pin event loudness -> soundLevel * update ts mappings for arrows * add wip ts patch rules * update .blocks files * use Click instead of Down as default in Documentation and tests * patch test.blocks * fix lowercase name tag * update test.blocks * update blocks test files * update blocks test files * format block files * pass blocks file tests * fix ts mapping * fix color.defl value closes https://github.com/microsoft/pxt-calliope/issues/136 * fix ts mappings - add optional spacing at the end of rgbw() - map up to v4.0.19 * add suggested changes * replace innerText by textContent Co-authored-by: JW <gitkraken@juriwolf.de> Co-authored-by: Juri <info@juriwolf.de>
94 lines
3.7 KiB
Plaintext
94 lines
3.7 KiB
Plaintext
<xml xmlns="http://www.w3.org/1999/xhtml">
|
|
<variables>
|
|
<variable type="" id="3ch~y{k6dWI;q}kA]3pa">item</variable>
|
|
</variables>
|
|
<block type="serial_on_data_received" x="79" y="287">
|
|
<value name="delimiters">
|
|
<shadow type="serial_delimiter_conv" id="Rgi{j+glSZt}8nIn!+08">
|
|
<field name="del">Delimiters.Colon</field>
|
|
</shadow>
|
|
<block type="serial_read_buffer"></block>
|
|
</value>
|
|
<statement name="HANDLER">
|
|
<block type="serial_writeline">
|
|
<value name="text">
|
|
<shadow type="text" id="re1R]taer}HU[ed30FDZ">
|
|
<field name="TEXT"></field>
|
|
</shadow>
|
|
<block type="serial_read_line"></block>
|
|
</value>
|
|
<next>
|
|
<block type="serial_writenumber">
|
|
<value name="value">
|
|
<shadow type="math_number">
|
|
<field name="NUM">0</field>
|
|
</shadow>
|
|
</value>
|
|
<next>
|
|
<block type="serial_writevalue">
|
|
<value name="name">
|
|
<shadow type="text" id="Y9NXoV7DPB{.(T=w:ei^">
|
|
<field name="TEXT">x</field>
|
|
</shadow>
|
|
<block type="serial_read_until">
|
|
<value name="delimiter">
|
|
<shadow type="serial_delimiter_conv">
|
|
<field name="del">Delimiters.Colon</field>
|
|
</shadow>
|
|
</value>
|
|
</block>
|
|
</value>
|
|
<value name="value">
|
|
<shadow type="math_number">
|
|
<field name="NUM">0</field>
|
|
</shadow>
|
|
</value>
|
|
<next>
|
|
<block type="serial_writestring">
|
|
<value name="text">
|
|
<shadow type="text">
|
|
<field name="TEXT"></field>
|
|
</shadow>
|
|
</value>
|
|
<next>
|
|
<block type="serial_writenumbers">
|
|
<value name="values">
|
|
<block type="variables_get">
|
|
<field name="VAR" id="3ch~y{k6dWI;q}kA]3pa" variabletype="">item</field>
|
|
</block>
|
|
</value>
|
|
<next>
|
|
<block type="serial_redirect">
|
|
<field name="tx">SerialPin.C16</field>
|
|
<field name="rx">SerialPin.C17</field>
|
|
<field name="rate">BaudRate.BaudRate28800</field>
|
|
<next>
|
|
<block type="serial_writebuffer">
|
|
<value name="buffer">
|
|
<block type="serial_readbuffer">
|
|
<value name="length">
|
|
<shadow type="math_number">
|
|
<field name="NUM">64</field>
|
|
</shadow>
|
|
</value>
|
|
</block>
|
|
</value>
|
|
<next>
|
|
<block type="serial_redirect_to_usb"></block>
|
|
</next>
|
|
</block>
|
|
</next>
|
|
</block>
|
|
</next>
|
|
</block>
|
|
</next>
|
|
</block>
|
|
</next>
|
|
</block>
|
|
</next>
|
|
</block>
|
|
</next>
|
|
</block>
|
|
</statement>
|
|
</block>
|
|
</xml> |