-
Notifications
You must be signed in to change notification settings - Fork 0
/
3distance_hips.m5f
1 lines (1 loc) · 26.5 KB
/
3distance_hips.m5f
1
{"components":[{"id":"_coretwoscreen","createTime":1664925391946,"name":"screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#000000","backgroundImage":"","type":"screen"},{"id":"____buttonA","createTime":1664925391946,"name":"ButtonA","buttonIndex":0,"x":35,"y":216,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1664925391946,"name":"ButtonB","buttonIndex":1,"x":125,"y":216,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1664925391946,"name":"ButtonC","buttonIndex":2,"x":215,"y":216,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"},{"id":"da@-_M1&LwKtVkj9","createTime":1665280498803,"isCoreTwo":true,"isPaper":false,"name":"label1","x":93,"y":79,"color":"#a328b9","text":"label1","font":"FONT_MONT_48","rotation":0,"type":"label","layer":8},{"id":"5^FtNCIa_evtVkut","createTime":1665280498803,"isCoreTwo":true,"isPaper":false,"name":"label0","x":99,"y":0,"color":"#a328b9","text":"label0","font":"FONT_MONT_48","rotation":0,"type":"label","layer":7},{"id":"Qg_$oKb4MpP1CLcU","createTime":1665280498803,"isCoreTwo":true,"isPaper":false,"name":"label2","x":88,"y":161,"color":"#a328b9","text":"label2","font":"FONT_MONT_48","rotation":0,"type":"label","layer":8}],"type":"core2","versions":"Beta","units":[{"id":"xNyOFqnLSy`+vqN6","createTime":1669164156407,"stickNone":"stick","type":"tof","name":"tof_1","port":"PAHUB","default":["A","E","PAHUB","Custom"],"pb_port":[0,1,2,3,4,5],"new_pb_port":"1","user_port":["21","22"],"icon":"tof.png","new_port":"PAHUB","new_default":["A","E","PAHUB","Custom"]},{"id":"b+2+5e7pW9hdqL+O","createTime":1669164156407,"stickNone":"stick","type":"tof","name":"tof_2","port":"PAHUB","default":["A","E","PAHUB","Custom"],"pb_port":[0,1,2,3,4,5],"new_pb_port":"2","user_port":["21","22"],"icon":"tof.png","new_port":"PAHUB","new_default":["A","E","PAHUB","Custom"]},{"id":"!cuJQcMPngo5Zdj5","createTime":1669164156407,"stickNone":"stick","type":"tof","name":"tof_3","port":"PAHUB","default":["A","E","PAHUB","Custom"],"pb_port":[0,1,2,3,4,5],"new_pb_port":"3","user_port":["21","22"],"icon":"tof.png","new_port":"PAHUB","new_default":["A","E","PAHUB","Custom"]},{"id":"DBxw_dR9hvCSkg54","createTime":1669167040413,"hidden":false,"type":"vibrator","name":"vibrator_0","port":"B","default":["A","B","C","D","Custom"],"user_port":["21","22"],"icon":"Vibrator_Motor.png","new_port":"B","new_default":["A","B","C","D","Custom"]},{"id":"tFR^LuVQ!sT8N0fz","createTime":1669167747145,"hidden":false,"type":"vibrator","name":"vibrator_1","port":"C","default":["A","B","C","D","Custom"],"user_port":["21","22"],"icon":"Vibrator_Motor.png","new_port":"C","new_default":["A","B","C","D","Custom"]}],"hats":[],"blockly":"<variables><variable id=\"N?h;ILdu*SE$vI4;3(Vl\">distance</variable><variable id=\"@;OCE5P|mrrK?H1`S-=%\">left-hip-distance</variable><variable id=\"!w9Vr$MR(.Ae:r!yV0?7\">right-hip-distance</variable></variables><block type=\"procedures_defnoreturn\" id=\"5v1bVuXuyHNtq?3BTb*C\" x=\"170\" y=\"10\"><field name=\"NAME\">head sensor</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"variables_set\" id=\"_sd2Vz,u|w!a9${U]k;z\"><field name=\"VAR\" id=\"N?h;ILdu*SE$vI4;3(Vl\">distance</field><value name=\"VALUE\"><block type=\"unit_tof_state\" id=\"3df#fO%t$i)~YEhI(e%6\"><field name=\"TOF\">tof_1</field></block></value><next><block type=\"label_set_text\" id=\"Pi$?8!J[yoq[+?E[`;wj\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"i9b|-l(lSwsOIS}J}]gg\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"B:w(BGU7;PAgkRy$bYT0\"><field name=\"VAR\" id=\"N?h;ILdu*SE$vI4;3(Vl\">distance</field></block></value><next><block type=\"controls_ifelse\" id=\"#/ef$7IZZis?=KsnK$ed\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"DxJD:k=Xgu)Fh,$x.Hm?\"><field name=\"OP\">LTE</field><value name=\"A\"><block type=\"variables_get\" id=\"/#WDh~skASF}rVMv$A!L\"><field name=\"VAR\" id=\"N?h;ILdu*SE$vI4;3(Vl\">distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"Ri@ozqDo/o(DH@)_?Z!W\"><field name=\"NUM\">1500</field></block></value></block></value><statement name=\"DO0\"><block type=\"power_set_vibration_motor_on\" id=\"0/!lPzT~gcDF.;(hAr=L\"><next><block type=\"controls_if\" id=\"52eBJne~j_~(_q^Pg?M}\"><mutation elseif=\"6\" else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"~gUuH`17r`@/K8V)D=71\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"XC^#XVr9G_g:r2HcN#s7\"><field name=\"VAR\" id=\"N?h;ILdu*SE$vI4;3(Vl\">distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"blI)(7Qt=2$u867P;P!`\"><field name=\"NUM\">150</field></block></value></block></value><statement name=\"DO0\"><block type=\"power_set_vibration_intensity\" id=\"9CEc3HHLI%#-6E%wJ20d\"><value name=\"intensity\"><shadow type=\"math_number\" id=\"+:E~8asn:yoAY3.aMIM7\"><field name=\"NUM\">100</field></shadow></value></block></statement><value name=\"IF1\"><block type=\"logic_compare\" id=\"S[.MGCqa74a?26mv_G1Y\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"A:J7}c]ghqd=?U|(WYJM\"><field name=\"VAR\" id=\"N?h;ILdu*SE$vI4;3(Vl\">distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"^#/2G7DX`}A6qS=A2J)~\"><field name=\"NUM\">200</field></block></value></block></value><statement name=\"DO1\"><block type=\"power_set_vibration_intensity\" id=\"J6a8$VHjn!Lf*QALB8-o\"><value name=\"intensity\"><shadow type=\"math_number\" id=\"nTIX8CSl+BBE+7WXnIzv\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"controls_repeat\" id=\"C(79y-ln@etliw+$J1q.\"><field name=\"TIMES\">1</field><statement name=\"DO\"><block type=\"power_set_vibration_motor_on\" id=\"{{{bVOT]$AHg^97glwu.\"><next><block type=\"timer_delay_ms\" id=\"5)[I-.y:x-Qz{ZwSS6E=\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"`K8.PkPcGqKyA~1kh8ML\"><field name=\"NUM\">60</field></shadow></value><next><block type=\"power_set_vibration_motor_off\" id=\"{yOf5c9`r4W*y5h{;P!}\"><next><block type=\"timer_delay_ms\" id=\"4t`?81C124@)weZ8_M!n\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\";`9P6S7}V4ER`Z2pnm^a\"><field name=\"NUM\">30</field></shadow></value><next><block type=\"power_set_vibration_motor_on\" id=\"zCDKVx@)_2b4!o!ux1|k\"><next><block type=\"timer_delay_ms\" id=\"MUttupp@XHT;e}R/1bvk\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"HlbwKPOR,{O:o^.+~oYe\"><field name=\"NUM\">60</field></shadow></value><next><block type=\"power_set_vibration_motor_off\" id=\"qo5tJ!]KqHwDo}rZuZ$H\"><next><block type=\"timer_delay_ms\" id=\":UB/j3b$9u+n:NMUnWKv\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"a*@Kht[3gQI[q8zoYUFJ\"><field name=\"NUM\">30</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></statement><value name=\"IF2\"><block type=\"logic_compare\" id=\"V3Tuy:EE?SX??-/UPClR\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"Z0ut*05W3?0nn;cg8]yy\"><field name=\"VAR\" id=\"N?h;ILdu*SE$vI4;3(Vl\">distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"P*[Q5Mp@j``GrV)R9-mC\"><field name=\"NUM\">400</field></block></value></block></value><statement name=\"DO2\"><block type=\"power_set_vibration_intensity\" id=\"]~?}kWYIi?6{+6bK$AtM\"><value name=\"intensity\"><shadow type=\"math_number\" id=\"k3*yJ3),6JZ-0p-8iQ{C\"><field name=\"NUM\">50</field></shadow></value></block></statement><value name=\"IF3\"><block type=\"logic_compare\" id=\"Z?`g1@_`^h~:08XINOhD\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"H(I#jrt;c2ZHm@QTjTfY\"><field name=\"VAR\" id=\"N?h;ILdu*SE$vI4;3(Vl\">distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"[fxyaO5s@e5l,SBzcrSa\"><field name=\"NUM\">600</field></block></value></block></value><statement name=\"DO3\"><block type=\"power_set_vibration_intensity\" id=\"k#QVmuYj^!OgJI.=*$NH\"><value name=\"intensity\"><shadow type=\"math_number\" id=\"%/NDV8I91c}KC`yBYV2o\"><field name=\"NUM\">40</field></shadow></value></block></statement><value name=\"IF4\"><block type=\"logic_compare\" id=\";:`02Db7(#Hcy?Fslt.9\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"3%zZSROb#(po`=c|:NX`\"><field name=\"VAR\" id=\"N?h;ILdu*SE$vI4;3(Vl\">distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"d!hE;1Ek`~~$YyzK,[yV\"><field name=\"NUM\">800</field></block></value></block></value><statement name=\"DO4\"><block type=\"power_set_vibration_intensity\" id=\"0QZvrCnV0k9[`[}Lm7@M\"><value name=\"intensity\"><shadow type=\"math_number\" id=\"vvRr7*b9e5]pr[(enZUZ\"><field name=\"NUM\">30</field></shadow></value></block></statement><value name=\"IF5\"><block type=\"logic_compare\" id=\"!)uU_,5_=Bd,3GLQ4p-)\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"}CMN6N/r8|Xd243m/Sl_\"><field name=\"VAR\" id=\"N?h;ILdu*SE$vI4;3(Vl\">distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"ZT2jRlo4fi(fh.5;ANmt\"><field name=\"NUM\">1200</field></block></value></block></value><statement name=\"DO5\"><block type=\"power_set_vibration_intensity\" id=\"(tX9l}H*{bX5{1@o(7jH\"><value name=\"intensity\"><shadow type=\"math_number\" id=\"VT;bXB!6D82pqDPKqBT6\"><field name=\"NUM\">20</field></shadow></value></block></statement><value name=\"IF6\"><block type=\"logic_compare\" id=\"x@?O^-$pkx[3qNF((:Ag\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\":CtsS71/lhf/;5pdntG:\"><field name=\"VAR\" id=\"N?h;ILdu*SE$vI4;3(Vl\">distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"gOyO=0RkkK~fg`)`$,0M\"><field name=\"NUM\">2000</field></block></value></block></value><statement name=\"DO6\"><block type=\"power_set_vibration_intensity\" id=\"RViuVfj{vcs[ac2:9-5,\"><value name=\"intensity\"><shadow type=\"math_number\" id=\"NPN*I]VsQ+|OK?|9p;ES\"><field name=\"NUM\">15</field></shadow></value></block></statement><statement name=\"ELSE\"><block type=\"power_set_vibration_intensity\" id=\"B8W7yV.gsvI?v7hKMC/B\"><value name=\"intensity\"><shadow type=\"math_number\" id=\"vcJIHUcR2a?V~cjN[0rn\"><field name=\"NUM\">0</field></shadow></value></block></statement></block></next></block></statement><statement name=\"ELSE\"><block type=\"power_set_vibration_motor_off\" id=\"a;?9,@cEDWe{4[pUW_Pu\"></block></statement></block></next></block></next></block></statement></block><block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"-190\" y=\"30\"><next><block type=\"screen_set_bgcolor\" id=\"ZD{S-nId^Jrd:XLmNSAg\"><field name=\"COLOR\">#000000</field><next><block type=\"screen_set_brightness\" id=\"eEKE*GiVQ?cXGo}x]c}+\"><value name=\"BRIGHTNESS\"><shadow type=\"math_slider\" id=\",A6UdyFjb*hvRV2?F%#L\"><field name=\"NUM\" max=\"100\" step=\"1\">80</field></shadow></value><next><block type=\"basic_on_loop\" id=\"|[5RgQET5p{bkvdw1M8R\"><statement name=\"LOOP\"><block type=\"procedures_callnoreturn\" id=\"|b)q(TpPSHU_b%F_{5EP\"><mutation name=\"head sensor\"></mutation><next><block type=\"procedures_callnoreturn\" id=\";@Zyh:X]AfFe(yh.Duhi\"><mutation name=\"left hip\"></mutation><next><block type=\"procedures_callnoreturn\" id=\"BMP/1Z5+DljI}JMrb1DC\"><mutation name=\"right hip\"></mutation></block></next></block></next></block></statement></block></next></block></next></block></next></block><block type=\"procedures_defnoreturn\" id=\"7#@go%[C6iOW@$Z{$jL]\" x=\"590\" y=\"30\"><field name=\"NAME\">left hip</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"variables_set\" id=\"8#Sv!%I|xr@CHg_i0xVm\"><field name=\"VAR\" id=\"@;OCE5P|mrrK?H1`S-=%\">left-hip-distance</field><value name=\"VALUE\"><block type=\"unit_tof_state\" id=\"rv9),?#0%.2cg-oO|tag\"><field name=\"TOF\">tof_2</field></block></value><next><block type=\"label_set_text\" id=\"m!hIh95WPvF|u[A#Y-nE\"><field name=\"COMPONENT\">label1</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"US?0xbGh4LF^%c1}7uLC\"><field name=\"VAR\" id=\"@;OCE5P|mrrK?H1`S-=%\">left-hip-distance</field></block></value><next><block type=\"controls_ifelse\" id=\"r3UG0tmq@nP4!%Tke(N0\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"R97!Ei##=wp!Q/,B%S:/\"><field name=\"OP\">LTE</field><value name=\"A\"><block type=\"variables_get\" id=\"JPg6LRNG:H]aOg;.Qxpw\"><field name=\"VAR\" id=\"@;OCE5P|mrrK?H1`S-=%\">left-hip-distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"O]vp?!vKbfZ?X(?3XiBd\"><field name=\"NUM\">1000</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\" id=\"I%pMA)j%[pum6X+:lF~!\"><mutation elseif=\"6\" else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"bx^x(oZ:hbPa2Kh;4D_5\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"|@8~9MzVp7|Hfrv08_F:\"><field name=\"VAR\" id=\"@;OCE5P|mrrK?H1`S-=%\">left-hip-distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"Lmpa}H@/PmdxV/w@*Se7\"><field name=\"NUM\">150</field></block></value></block></value><statement name=\"DO0\"><block type=\"pins_analog_write\" id=\"BmRfi:sn*syy8QO$_k?u\"><value name=\"PIN\"><shadow type=\"math_number\" id=\"H2TBah~]4#~MpBFP.RU{\"><field name=\"NUM\">26</field></shadow></value><value name=\"DUTY\"><shadow type=\"math_number\" id=\"gZSl;v,D{kks/rq3L,MG\"><field name=\"NUM\">80</field></shadow></value></block></statement><value name=\"IF1\"><block type=\"logic_compare\" id=\"0CvI$ZG#?f-T$x+6Zv#X\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"Y6.*Dh@r;6G^kFm]K+N}\"><field name=\"VAR\" id=\"@;OCE5P|mrrK?H1`S-=%\">left-hip-distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"{v9PDWn5(/!2ZoO+b_rc\"><field name=\"NUM\">200</field></block></value></block></value><statement name=\"DO1\"><block type=\"pins_analog_write\" id=\"p`2;|R!+4Ld.rF~T__vS\"><value name=\"PIN\"><shadow type=\"math_number\" id=\",cqkoBz:3p+Yqg[!]Lnd\"><field name=\"NUM\">26</field></shadow></value><value name=\"DUTY\"><shadow type=\"math_number\" id=\"=rU0(z2As}YvuD4ZPm;c\"><field name=\"NUM\">70</field></shadow></value></block></statement><value name=\"IF2\"><block type=\"logic_compare\" id=\"73e;xp0:D2GW$@sIF,7!\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\",:5;l_:E:,NUE`+nX]WF\"><field name=\"VAR\" id=\"@;OCE5P|mrrK?H1`S-=%\">left-hip-distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"CRgM0(5)6?lG2{I(BwNc\"><field name=\"NUM\">400</field></block></value></block></value><statement name=\"DO2\"><block type=\"pins_analog_write\" id=\"57G_oZr5^tX#Cu8VtC#M\"><value name=\"PIN\"><shadow type=\"math_number\" id=\":O/9{qq1g[8,fk,u%oG4\"><field name=\"NUM\">26</field></shadow></value><value name=\"DUTY\"><shadow type=\"math_number\" id=\"b|PF,Vz?AZw$RNv^P!@[\"><field name=\"NUM\">50</field></shadow></value></block></statement><value name=\"IF3\"><block type=\"logic_compare\" id=\"R`*3,8gI,m=xD/cPBPTo\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"{{5h/S`)BRwY4:Mejkmb\"><field name=\"VAR\" id=\"@;OCE5P|mrrK?H1`S-=%\">left-hip-distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"q:Hk||}{M?]zQ%SN$Oz;\"><field name=\"NUM\">600</field></block></value></block></value><statement name=\"DO3\"><block type=\"pins_analog_write\" id=\"f_6k?}}~BFXI^ooQ5vE-\"><value name=\"PIN\"><shadow type=\"math_number\" id=\"y|ivI_$vuJD?YDNrJ$27\"><field name=\"NUM\">26</field></shadow></value><value name=\"DUTY\"><shadow type=\"math_number\" id=\"=O{WL;3mlbV~W8Tfl7y|\"><field name=\"NUM\">40</field></shadow></value></block></statement><value name=\"IF4\"><block type=\"logic_compare\" id=\"Hm*;/Jm;j?ku+s0?EI_(\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"v^p47dJGcmfT[W+#Aia#\"><field name=\"VAR\" id=\"@;OCE5P|mrrK?H1`S-=%\">left-hip-distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"qN{yCfwVnj,%EI4@+*Ev\"><field name=\"NUM\">800</field></block></value></block></value><statement name=\"DO4\"><block type=\"pins_analog_write\" id=\"9X,+YTi!YBBihNc=]=c}\"><value name=\"PIN\"><shadow type=\"math_number\" id=\"Z}J81lG4^{R}iZ#$u{1|\"><field name=\"NUM\">26</field></shadow></value><value name=\"DUTY\"><shadow type=\"math_number\" id=\"=Hr!w?*YdY,;~:mz1Dgf\"><field name=\"NUM\">30</field></shadow></value></block></statement><value name=\"IF5\"><block type=\"logic_compare\" id=\"F0v:ovs@x$^57_Hr6I1/\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"vCM.W,x+Vek/4pWAPpXU\"><field name=\"VAR\" id=\"@;OCE5P|mrrK?H1`S-=%\">left-hip-distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"e7U8-/802bQVTKp8yI|2\"><field name=\"NUM\">1200</field></block></value></block></value><statement name=\"DO5\"><block type=\"pins_analog_write\" id=\")$RL$kfeAYC9)QR+Lzq2\"><value name=\"PIN\"><shadow type=\"math_number\" id=\"fdQ!4OWoFc-l(trg4uDQ\"><field name=\"NUM\">26</field></shadow></value><value name=\"DUTY\"><shadow type=\"math_number\" id=\"mlrXb[Y~Z|$;@g03R!%9\"><field name=\"NUM\">20</field></shadow></value></block></statement><value name=\"IF6\"><block type=\"logic_compare\" id=\"xrQZ2{ZZ7d-yWsehLxCd\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\".@FEJ|nK:Qh9|_}eSm,)\"><field name=\"VAR\" id=\"@;OCE5P|mrrK?H1`S-=%\">left-hip-distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"Ue7j);4PFwe#MGAoy9|`\"><field name=\"NUM\">1500</field></block></value></block></value><statement name=\"DO6\"><block type=\"pins_analog_write\" id=\"~6^$uN=A]a%kGJ~X{C-r\"><value name=\"PIN\"><shadow type=\"math_number\" id=\"riz*?C~C[qN4o74W.ucO\"><field name=\"NUM\">26</field></shadow></value><value name=\"DUTY\"><shadow type=\"math_number\" id=\"Cec6~!cvoW_PcV-2oMWy\"><field name=\"NUM\">10</field></shadow></value></block></statement><statement name=\"ELSE\"><block type=\"pins_analog_write\" id=\"7IZj~a%hes8~e,atNE8*\"><value name=\"PIN\"><shadow type=\"math_number\" id=\"X~eE^TOj]sfc/{Kar]/k\"><field name=\"NUM\">26</field></shadow></value><value name=\"DUTY\"><shadow type=\"math_number\" id=\"$T:m|t}UFWg?|VQPiG^e\"><field name=\"NUM\">0</field></shadow></value></block></statement></block></statement><statement name=\"ELSE\"><block type=\"vibrator_off\" id=\")^3ojy$3ZWV?yVembO/X\"><field name=\"NAME\">vibrator_0</field></block></statement></block></next></block></next></block></statement></block><block type=\"procedures_defnoreturn\" id=\"1lg4p;Peb{blBmp2J|nu\" x=\"1050\" y=\"30\"><field name=\"NAME\">right hip</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"variables_set\" id=\"t*X?o*QuX8NvE`^-=RPd\"><field name=\"VAR\" id=\"!w9Vr$MR(.Ae:r!yV0?7\">right-hip-distance</field><value name=\"VALUE\"><block type=\"unit_tof_state\" id=\",T`l0ReP?DRM/i+H%C([\"><field name=\"TOF\">tof_3</field></block></value><next><block type=\"label_set_text\" id=\"_eJWw1Bv:CHT1d]hM5m9\"><field name=\"COMPONENT\">label2</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"ZO0{b-bsz:LEJL#3FI`4\"><field name=\"VAR\" id=\"!w9Vr$MR(.Ae:r!yV0?7\">right-hip-distance</field></block></value><next><block type=\"controls_ifelse\" id=\"$;aJYy!o*-]tUEm`5!uY\"><value name=\"IF0\"><block type=\"logic_compare\" id=\".b|cYUxKB1G/%GxdnBs4\"><field name=\"OP\">LTE</field><value name=\"A\"><block type=\"variables_get\" id=\"f[89ebQU-mX3(J3-%Dmm\"><field name=\"VAR\" id=\"!w9Vr$MR(.Ae:r!yV0?7\">right-hip-distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"0OkhZ5qwkq%BJk1aIw=t\"><field name=\"NUM\">1000</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\" id=\"TG8f/uNf@/Y2Ilj3GYdU\"><mutation elseif=\"6\" else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"hn5Av]S?EReBSvZ:NSa;\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"Cg1SnFBx2A^#]SD1:4Z;\"><field name=\"VAR\" id=\"!w9Vr$MR(.Ae:r!yV0?7\">right-hip-distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"c~dTPsh8^C6x9E9EW]PP\"><field name=\"NUM\">150</field></block></value></block></value><statement name=\"DO0\"><block type=\"pins_analog_write\" id=\";W6(j5Fl3TW7Mm.@r$7#\"><value name=\"PIN\"><shadow type=\"math_number\" id=\":oRbvlL*kO`C,uQo?OE_\"><field name=\"NUM\">14</field></shadow></value><value name=\"DUTY\"><shadow type=\"math_number\" id=\"?FRJ@f1=$,vl[4gE=[x2\"><field name=\"NUM\">80</field></shadow></value></block></statement><value name=\"IF1\"><block type=\"logic_compare\" id=\"fb,vMYW=2d~w52Kml.hZ\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"iE%$cZ8n_kAP|w-I!~VL\"><field name=\"VAR\" id=\"!w9Vr$MR(.Ae:r!yV0?7\">right-hip-distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"iojo]B:11PRh9O8yF[yR\"><field name=\"NUM\">200</field></block></value></block></value><statement name=\"DO1\"><block type=\"pins_analog_write\" id=\"rC~[;/s]r5?NLYl]swvR\"><value name=\"PIN\"><shadow type=\"math_number\" id=\"lMMC!IM?_7;]IT|pjg5~\"><field name=\"NUM\">14</field></shadow></value><value name=\"DUTY\"><shadow type=\"math_number\" id=\":293;oFjAYdD)4zLYY4@\"><field name=\"NUM\">70</field></shadow></value></block></statement><value name=\"IF2\"><block type=\"logic_compare\" id=\"#H.)NDra4^4=yA-e(9I(\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"oSx0D`{XiwBl5D:.#.(*\"><field name=\"VAR\" id=\"!w9Vr$MR(.Ae:r!yV0?7\">right-hip-distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"7G/,F97{aWW[d_Vph!;q\"><field name=\"NUM\">400</field></block></value></block></value><statement name=\"DO2\"><block type=\"pins_analog_write\" id=\"MF/;XM@rGxWOH?*BEElv\"><value name=\"PIN\"><shadow type=\"math_number\" id=\"sN[DnmC3Dp:jS;Z{$d^y\"><field name=\"NUM\">14</field></shadow></value><value name=\"DUTY\"><shadow type=\"math_number\" id=\"Vyr^O?8XXP*KlhJin-17\"><field name=\"NUM\">50</field></shadow></value></block></statement><value name=\"IF3\"><block type=\"logic_compare\" id=\"T$fF:V3:@?crOIPu$5#_\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"/9!c6?_=euLjEwKSJ-BS\"><field name=\"VAR\" id=\"!w9Vr$MR(.Ae:r!yV0?7\">right-hip-distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"2qVudC1!4-I[U~][(T%)\"><field name=\"NUM\">600</field></block></value></block></value><statement name=\"DO3\"><block type=\"pins_analog_write\" id=\"r~;;J(*xd{#pRSPY;,#c\"><value name=\"PIN\"><shadow type=\"math_number\" id=\"|dvC[3%58cC+p#iIH,{Y\"><field name=\"NUM\">14</field></shadow></value><value name=\"DUTY\"><shadow type=\"math_number\" id=\"F3JjTo-Nmd2?`KF8Mr0E\"><field name=\"NUM\">40</field></shadow></value></block></statement><value name=\"IF4\"><block type=\"logic_compare\" id=\"Ot~FpU%lc,p|g,p7:9D*\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"$5Z=L)m7.Su5iV!/;U5K\"><field name=\"VAR\" id=\"!w9Vr$MR(.Ae:r!yV0?7\">right-hip-distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"Y}1uJwBLt:4m%`}#.]_A\"><field name=\"NUM\">800</field></block></value></block></value><statement name=\"DO4\"><block type=\"pins_analog_write\" id=\"XmYmc.QF$!i^j.bG#7G%\"><value name=\"PIN\"><shadow type=\"math_number\" id=\"}ROE5iXL79UlPW=8j/{t\"><field name=\"NUM\">14</field></shadow></value><value name=\"DUTY\"><shadow type=\"math_number\" id=\"I#n|!iu_eeFc(W[x9%^%\"><field name=\"NUM\">30</field></shadow></value></block></statement><value name=\"IF5\"><block type=\"logic_compare\" id=\"EjGSFa.60D!D.?CsiY2B\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"*C@6P;D~CU[Z3_[oNHXK\"><field name=\"VAR\" id=\"!w9Vr$MR(.Ae:r!yV0?7\">right-hip-distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"kDD#,lS!ey|Q|v|tI*7N\"><field name=\"NUM\">1200</field></block></value></block></value><statement name=\"DO5\"><block type=\"pins_analog_write\" id=\"US,0HvuJR`j*[/:~pyu[\"><value name=\"PIN\"><shadow type=\"math_number\" id=\"J^nu+P6w_haVhvo/4(?]\"><field name=\"NUM\">14</field></shadow></value><value name=\"DUTY\"><shadow type=\"math_number\" id=\"%wrCsDv}BnaV:Wl9`}Fq\"><field name=\"NUM\">20</field></shadow></value></block></statement><value name=\"IF6\"><block type=\"logic_compare\" id=\"=.wQCTk~MwB!R9uZ0fC7\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"_sN|qCaAz,X;zPdWE*dq\"><field name=\"VAR\" id=\"!w9Vr$MR(.Ae:r!yV0?7\">right-hip-distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"nY~K%{l!qVq(HG}^4aqt\"><field name=\"NUM\">1500</field></block></value></block></value><statement name=\"DO6\"><block type=\"pins_analog_write\" id=\"FZQ9_3RoI;ohSJqDm[0k\"><value name=\"PIN\"><shadow type=\"math_number\" id=\".)L[8,gKqoi,y9@d:i|#\"><field name=\"NUM\">14</field></shadow></value><value name=\"DUTY\"><shadow type=\"math_number\" id=\"6:9Lj1[P#thSRC%C9he%\"><field name=\"NUM\">10</field></shadow></value></block></statement><statement name=\"ELSE\"><block type=\"pins_analog_write\" id=\"uxrI8h(ZX^^?ST?f}cuM\"><value name=\"PIN\"><shadow type=\"math_number\" id=\"Gpf]8Evd2Co`8bz0GwSH\"><field name=\"NUM\">14</field></shadow></value><value name=\"DUTY\"><shadow type=\"math_number\" id=\"v`t:NaMhUF=]hhjxE[yk\"><field name=\"NUM\">0</field></shadow></value></block></statement></block></statement><statement name=\"ELSE\"><block type=\"vibrator_off\" id=\"KUx|b@~x7_t+n}FGP.%?\"><field name=\"NAME\">vibrator_1</field></block></statement></block></next></block></next></block></statement></block>","Blockly.Remotes":[],"Blockly.RemotePlus":[{"id":"__title","blockId":"","createTime":1669164156407,"name":"M5RemoteTitle","dragAndDrop":false,"resizable":false,"options":{"minWidth":1,"minHeight":1,"maxWidth":6,"maxHeight":10,"defaultWidth":2,"defaultHeight":1},"w":2,"h":1,"bgColor":"#0080FF","color":"#fff","fontsize":"M","label":"M5Remote","interval":3000,"code":"","event":"","dataSource":"none","ezdataToken":"u68B2oxiO5Gt06x2FjfjJcY5fljXl6wU","topic":"","needShadow":false,"type":"title","x":0,"y":0}],"modules":["imu"],"cbIdList_":[],"eventCBIdList_":[]}