pxt-calliope/libs/core/blocks-test/led.blocks
Peli de Halleux a1f135d9fe
updated pxt (#2465)
* updated pxt

* bump pxt

* updated react

* updated ptx

* Remove empty variable element from XML

* Bump pxt-core to 5.25.15

* bump pxt

* Bump pxt to 5.25.17

* Add precision to music slider
2019-10-17 14:49:13 -07:00

114 lines
4.2 KiB
Plaintext

<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="pxt-on-start" x="20" y="20">
<statement name="HANDLER">
<block type="device_plot">
<value name="x">
<shadow type="math_number">
<field name="NUM">5</field>
</shadow>
</value>
<value name="y">
<shadow type="math_number">
<field name="NUM">5</field>
</shadow>
</value>
<next>
<block type="device_unplot">
<value name="x">
<shadow type="math_number">
<field name="NUM">5</field>
</shadow>
</value>
<value name="y">
<shadow type="math_number">
<field name="NUM">5</field>
</shadow>
</value>
<next>
<block type="device_led_toggle">
<value name="x">
<shadow type="math_number">
<field name="NUM">5</field>
</shadow>
</value>
<value name="y">
<shadow type="math_number">
<field name="NUM">5</field>
</shadow>
</value>
<next>
<block type="device_plot_bar_graph">
<value name="value">
<shadow type="math_number">
<field name="NUM">0</field>
</shadow>
</value>
<value name="high">
<shadow type="math_number">
<field name="NUM">0</field>
</shadow>
</value>
<next>
<block type="device_plot_brightness">
<value name="x">
<shadow type="math_number">
<field name="NUM">5</field>
</shadow>
</value>
<value name="y">
<shadow type="math_number">
<field name="NUM">5</field>
</shadow>
<block type="device_get_brightness"></block>
</value>
<value name="brightness">
<shadow type="math_number">
<field name="NUM">5</field>
</shadow>
</value>
<next>
<block type="device_set_brightness">
<value name="value">
<shadow type="math_number">
<field name="NUM">5</field>
</shadow>
</value>
<next>
<block type="device_stop_animation">
<next>
<block type="device_led_enable">
<value name="on">
<shadow type="logic_boolean" id="F!|?!lo8YkE4p2I@MDy?">
<field name="BOOL">FALSE</field>
</shadow>
<block type="device_point">
<value name="x">
<shadow type="math_number">
<field name="NUM">5</field>
</shadow>
</value>
<value name="y">
<shadow type="math_number">
<field name="NUM">5</field>
</shadow>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</xml>