Debian Codegraph @

online/static/samples/Vision Demos/AI LED.xml

raw symbols SCIP
1 <xml xmlns="https://developers.google.com/blockly/xml">
2 <block type="add_mp_hands" id="8z8W[PaSTZ+16P-GHvRw" x="28" y="30">
3 <next>
4 <block type="set_reg_bits_string" id="8s18^H9%8uv6z-o%Sc:S">
5 <field name="REGISTER">DDRB</field>
6 <field name="B7">FALSE</field>
7 <field name="B6">FALSE</field>
8 <field name="B5">TRUE</field>
9 <field name="B4">FALSE</field>
10 <field name="B3">FALSE</field>
11 <field name="B2">FALSE</field>
12 <field name="B1">FALSE</field>
13 <field name="B0">FALSE</field>
14 <next>
15 <block type="controls_whileUntil" id=".{Z)z=N#scEFP4Cd]#kB">
16 <field name="MODE">WHILE</field>
17 <value name="BOOL">
18 <block type="logic_boolean" id="T%vh,hWbmX`rmg(.]Gaw">
19 <field name="BOOL">TRUE</field>
20 </block>
21 </value>
22 <statement name="DO">
23 <block type="controls_if" id="2;I.?M*_T6(TLAb(,Ypr">
24 <mutation else="1"></mutation>
25 <value name="IF0">
26 <block type="ai_isIndexExtendend" id="^6P1ydsnFKL(qo%RJe$%"></block>
27 </value>
28 <statement name="DO0">
29 <block type="set_reg_bits_string" id="P^jqS{F#C~!o(~Ob(Kgv">
30 <field name="REGISTER">PORTB</field>
31 <field name="B7">FALSE</field>
32 <field name="B6">FALSE</field>
33 <field name="B5">TRUE</field>
34 <field name="B4">FALSE</field>
35 <field name="B3">FALSE</field>
36 <field name="B2">FALSE</field>
37 <field name="B1">FALSE</field>
38 <field name="B0">FALSE</field>
39 </block>
40 </statement>
41 <statement name="ELSE">
42 <block type="set_reg_bits_string" id="BTl^C[)v:#RHzrd%[pYA">
43 <field name="REGISTER">PORTB</field>
44 <field name="B7">FALSE</field>
45 <field name="B6">FALSE</field>
46 <field name="B5">FALSE</field>
47 <field name="B4">FALSE</field>
48 <field name="B3">FALSE</field>
49 <field name="B2">FALSE</field>
50 <field name="B1">FALSE</field>
51 <field name="B0">FALSE</field>
52 </block>
53 </statement>
54 <next>
55 <block type="wait_seconds" id="f*o+{~Od%}rD/R3RXOL$">
56 <field name="SECONDS">0.1</field>
57 </block>
58 </next>
59 </block>
60 </statement>
61 </block>
62 </next>
63 </block>
64 </next>
65 </block>
66 <description>
67 <![CDATA[<h2>Introduction</h2><p>KuttyPy apps can exchange data over local wifi. This is an experimental feature</p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><h2>Bird game Remote</h2><ul><li>Open the <code>Bird Game with Remote Light Sensor</code> on another phone connected to the same WiFi network</li><li>Click on the wifi icon next to the help icon on both phones</li><li>On one of the phones, you will see a message just above the toolbar of the form <code>Found Client, IP Address.</code> followed by a connect button</li><li>Once they are connected successfully with each other, both phones will show a message <code>Connected to &lt;IP&gt;: Kuttypy</code></li></ul><p>Now you can run the game on the other phone which will wait for luminosity readings from this connected phone in order to control the bird.</p><p>The readings of the sensor increase with intensity of light falling on the light sensor which is usually located next to the front camera. These readings are measured and used to set the height of the character in the game.</p><p>Stand under a tubelight and move this second phone close and away from the light to observe how the bird moves along with it on the other phone.</p>]]>
68 </description>
69 </xml>