-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.blocks
More file actions
1 lines (1 loc) · 3.61 KB
/
main.blocks
File metadata and controls
1 lines (1 loc) · 3.61 KB
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="s)2k(#6uiCduAg(m#E[D">v</variable></variables><block type="pxt-on-start" id="l(~empO5RRxhjx543v5Z" x="0" y="0"><statement name="HANDLER"><block type="radio_set_group" id=",Zj5dE!mV*xEhq.UJr2e"><value name="ID"><shadow type="math_number_minmax" id="@eP`;#`s4_#Z47T|-:lj"><mutation min="0" max="255" label="Id" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="setServoAngle" id="o5(xzi!2q3ob~v+5U!0y"><field name="servoType">wuKong.ServoTypeList._360</field><field name="servo">wuKong.ServoList.S1</field><value name="angle"><shadow type="math_number_minmax" id="^^z17s2=S.3W|eY2sk]%"><mutation min="0" max="360" label="Angle" precision="0"></mutation><field name="SLIDER">180</field></shadow></value><next><block type="basic_show_icon" id="0F5aG^!|Ii.]:+r*/o(h"><field name="i">IconNames.Heart</field></block></next></block></next></block></statement></block><block type="radio_on_value_drag" id="ydXAF,F=xM6smq6vE|4V" x="1" y="256"><value name="HANDLER_DRAG_PARAM_name"><block type="argument_reporter_string" id="!~f*{X9ssyyP6QKSg!J;"><mutation duplicateondrag="true"></mutation><field name="VALUE">name</field></block></value><value name="HANDLER_DRAG_PARAM_value"><block type="argument_reporter_number" id="u,=2ZcVTS-^KG)SP4#qL"><mutation duplicateondrag="true"></mutation><field name="VALUE">value</field></block></value><statement name="HANDLER"><block type="controls_if" id="OaRcwuCP{Rd}Qe9$6`I/"><mutation elseif="1"></mutation><value name="IF0"><shadow type="logic_boolean" id="4Cht#VU_tv1xwX=c7]vR"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="R;zKldo:-_UUX+5NQuX3"><field name="OP">EQ</field><value name="A"><shadow type="math_number" id="EdS4z!}%!CLobylU(mD0"><field name="NUM">0</field></shadow><block type="argument_reporter_string" id=")HmCJ]UH1!.ez!VWFa9b"><field name="VALUE">name</field></block></value><value name="B"><shadow type="math_number" id="HUg,!YgmpVhTd*y#m]LH"><field name="NUM">0</field></shadow><block type="text" id="iVg9UY+I(S$Q1YZ6af|`"><field name="TEXT">angle</field></block></value></block></value><statement name="DO0"><block type="setServoAngle" id="S(D[Yo[Dn3{/5FPS_UeR"><field name="servoType">wuKong.ServoTypeList._360</field><field name="servo">wuKong.ServoList.S1</field><value name="angle"><shadow type="math_number_minmax" id="|4dTyc60u$DX0-Q@pr{J"><mutation min="0" max="360" label="Angle" precision="0"></mutation><field name="SLIDER">180</field></shadow><block type="argument_reporter_number" id="eI/Np;0iI9+7C!9fcy$*"><field name="VALUE">value</field></block></value></block></statement><value name="IF1"><block type="logic_compare" id="E(d;2*$k5]vQJlb8_*$l"><field name="OP">EQ</field><value name="A"><shadow type="math_number" id="29$Hfz@~khlRopaaXt6v"><field name="NUM">0</field></shadow><block type="argument_reporter_string" id="vO3TZ}EgFf?KX3VbQ;LD"><field name="VALUE">name</field></block></value><value name="B"><shadow type="math_number" id="`Q+x:~~DT~m4fPU8UpH-"><field name="NUM">0</field></shadow><block type="text" id="4yW9z|.k1g*sCRy-5?/H"><field name="TEXT">speed</field></block></value></block></value><statement name="DO1"><block type="setMotorSpeed" id="kkc;#Ig]^^Nz}7=5bs;I"><field name="motor">wuKong.MotorList.M2</field><value name="speed"><shadow type="math_number_minmax" id="+DLSgsxxD+VPC9h%;2Z0"><mutation min="-100" max="100" label="Speed" precision="0"></mutation><field name="SLIDER">-100</field></shadow><block type="argument_reporter_number" id="P,M#a,W`ir01MBx!cF@;"><field name="VALUE">value</field></block></value></block></statement></block></statement></block></xml>