mirror of
https://github.com/m5stack/UIFlowLessons.git
synced 2026-05-20 11:02:19 -07:00
– API code has been removed. – The SignedByte block has been moved to the top of the program.
2 lines
51 KiB
Plaintext
2 lines
51 KiB
Plaintext
{"components":[{"id":"____screen","createTime":1692252912305,"name":"screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#222222","backgroundImage":"","size":0,"screenType":"default","type":"screen"}],"type":"atom-matrix","versions":"Beta","units":[],"hats":[],"stamps":[],"blockly":"<variables><variable id=\"P1`GH*(SCgh/[^%uUV(P\">raw</variable><variable id=\"]D2x[w|fT3Qe|K)Jk{=B\">direction</variable><variable id=\"}OBGw%kl5q6(ap*|3$@x\">masterMAC</variable><variable id=\"+UdrL/5VyBAqbi=2jrGs\">masterData</variable><variable id=\"F_A7WPJ5g`yE^3ykoMII\">state</variable><variable id=\"POGc`~rZJurwIL/]h@Jg\">mySSID</variable></variables><block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"50\" y=\"-30\"><next><block type=\"__SignedByte_Init\" id=\"qPwIE*U?P2)Y}3YS|^I2\"><next><block type=\"iic_set_C\" id=\"6`-2*$~C[V@)gVW8jD{M\"><field name=\"i2c\">i2c1</field><field name=\"FREQ\">400000</field><value name=\"sda\"><shadow type=\"math_number\" id=\"VTp`v1KJsG[S2M,FJsY3\"><field name=\"NUM\">25</field></shadow></value><value name=\"scl\"><shadow type=\"math_number\" id=\"=Z$Abl--a#Unvl{h-`7m\"><field name=\"NUM\">21</field></shadow></value><next><block type=\"iic_set_slave_addr\" id=\",|aOt@K}^}[BNY*CI8qN\"><field name=\"i2c\">i2c1</field><field name=\"ADDRESS\">0x38</field><next><block type=\"m5_espnow_init_channel\" id=\"4y%GIjl%1xR^x_wS/|P(\"><field name=\"type\">0</field><value name=\"channel\"><shadow type=\"math_slider\" id=\"7fZBxyf!eI)UI/ZxEsPX\"><field name=\"NUM\" min=\"1\" max=\"13\" step=\"1\">1</field></shadow></value><next><block type=\"variables_set\" id=\"r/H|HVx.^Pmu?;iT%e_:\"><field name=\"VAR\" id=\"POGc`~rZJurwIL/]h@Jg\">mySSID</field><value name=\"VALUE\"><block type=\"text\" id=\"@r5uSN[6hs/%6:e,gus.\"><field name=\"TEXT\">AtomMotion</field></block></value><next><block type=\"m5_espnow_set_ap_mode1\" id=\"M9v2UQ@tOxf9dnkjTh~V\"><value name=\"ssid\"><shadow type=\"text\" id=\"?8VxI,)2;XH;nlBOagn9\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"PM:u8c@Zr!MmHtkW]/su\"><field name=\"VAR\" id=\"POGc`~rZJurwIL/]h@Jg\">mySSID</field></block></value><value name=\"password\"><shadow type=\"text\" id=\"^l9B+W%$/f[k[,Wx,DO2\"><field name=\"TEXT\"></field></shadow></value><next><block type=\"variables_set\" id=\"ZUlF4cKPWlz|M%hbT5p/\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field><value name=\"VALUE\"><block type=\"map_on_loop\" id=\"`9qJ6P,vc}!?OA~v*HKl\"><statement name=\"LOOP\"><block type=\"create_map_key\" id=\"2buB]L3LCEA}dOI50q|P\"><value name=\"key\"><shadow type=\"text\" id=\"w{1vJ0:wd4BtO_~;)-*h\"><field name=\"TEXT\">speed</field></shadow></value><value name=\"value\"><shadow type=\"text\" id=\"fK[)ELh{srxk5P}aX0=f\"><field name=\"TEXT\"></field></shadow><block type=\"math_number\" id=\"GsA]CKK[,~s:rdr`)oJY\"><field name=\"NUM\">0</field></block></value><next><block type=\"create_map_key\" id=\"4U]dv^9)=iEVw[A=@b]N\"><value name=\"key\"><shadow type=\"text\" id=\"sDbEid,V+335*V%,hiWM\"><field name=\"TEXT\">turning</field></shadow></value><value name=\"value\"><shadow type=\"text\" id=\"P6v;02GB*tInl0RkW~0Q\"><field name=\"TEXT\"></field></shadow><block type=\"math_number\" id=\")rHk@c~gF@PwuVq]|`mc\"><field name=\"NUM\">0</field></block></value><next><block type=\"create_map_key\" id=\"k++tzz`m^Ue-N,nnSRyN\"><value name=\"key\"><shadow type=\"text\" id=\"S]fu/_,${;lCe||j*r6O\"><field name=\"TEXT\">frontLamps</field></shadow></value><value name=\"value\"><shadow type=\"text\" id=\"-IfKouqqVsWh1_@Dq6z5\"><field name=\"TEXT\"></field></shadow><block type=\"logic_boolean\" id=\"BE(WOBE(Av]!yIO_aA7W\"><field name=\"BOOL\">TRUE</field></block></value><next><block type=\"create_map_key\" id=\"ztfhCahn.g)YUpo]UBK?\"><value name=\"key\"><shadow type=\"text\" id=\"Nzk1);m(wX^5L2!/w..P\"><field name=\"TEXT\">rearLamps</field></shadow></value><value name=\"value\"><shadow type=\"text\" id=\"Utl(OMYS1C@bgIm@0a$v\"><field name=\"TEXT\"></field></shadow><block type=\"logic_boolean\" id=\"`g5xBKIr#^hMeSeZOz3~\"><field name=\"BOOL\">TRUE</field></block></value><next><block type=\"create_map_key\" id=\"/MTL]C`Y_p2|iJ2@M-`?\"><value name=\"key\"><shadow type=\"text\" id=\"%m3xFP]4ZjhVVEQB._l.\"><field name=\"TEXT\">reverseLight</field></shadow></value><value name=\"value\"><shadow type=\"text\"><field name=\"TEXT\"></field></shadow><block type=\"logic_boolean\" id=\"2W5xvpCF#qoz=IYjX~ur\"><field name=\"BOOL\">FALSE</field></block></value><next><block type=\"create_map_key\" id=\"|hDwxaP,1/M+~YLS-Hwj\"><value name=\"key\"><shadow type=\"text\" id=\"y`XQl7p*-**uq@$Zb)Y;\"><field name=\"TEXT\">stopLights</field></shadow></value><value name=\"value\"><shadow type=\"text\" id=\"L}-k0%Vf:PQTKh=*P`~r\"><field name=\"TEXT\"></field></shadow><block type=\"math_number\" id=\")j`RaC)+p)l=L14}=:6}\"><field name=\"NUM\">0</field></block></value><next><block type=\"create_map_key\" id=\"it1da~GXMI5OBX2qeJn?\"><value name=\"key\"><shadow type=\"text\" id=\"bF,!9`)5{:kjorT4XkAR\"><field name=\"TEXT\">leftTurnSignals</field></shadow></value><value name=\"value\"><shadow type=\"text\" id=\"H|D4]2.YwM`H[**g2mk`\"><field name=\"TEXT\"></field></shadow><block type=\"logic_boolean\" id=\"yPk2M4.x#R=hp8fPX+)e\"><field name=\"BOOL\">FALSE</field></block></value><next><block type=\"create_map_key\" id=\"Rxn{PrBvnl:95@8`ND*{\"><value name=\"key\"><shadow type=\"text\" id=\"(O[aA.*d8;F#q8N7qrqY\"><field name=\"TEXT\">rightTurnSignals</field></shadow></value><value name=\"value\"><shadow type=\"text\"><field name=\"TEXT\"></field></shadow><block type=\"logic_boolean\" id=\"6x=_j]3R(P]nE0~_oO(J\"><field name=\"BOOL\">FALSE</field></block></value><next><block type=\"create_map_key\" id=\"R4]7YCSK~RUnRPUb3hro\"><value name=\"key\"><shadow type=\"text\" id=\"qnu_v[s[~l%Ho@N)6r1T\"><field name=\"TEXT\">turnSignals</field></shadow></value><value name=\"value\"><shadow type=\"text\" id=\"=i_9l0N!!1ppBmNBT{PP\"><field name=\"TEXT\"></field></shadow><block type=\"math_number\" id=\",}89D2h:!s-=ILJit4gp\"><field name=\"NUM\">0</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></value><next><block type=\"basic_on_loop\" id=\"/(}T)NmHSj=N4$O-ww}L\"><statement name=\"LOOP\"><block type=\"procedures_callnoreturn\" id=\"`/}kif(wT{RLWY99ZpEJ\"><mutation name=\"frontLamps\"></mutation><next><block type=\"procedures_callnoreturn\" id=\"Z0|ATa,myM|@v``tCzru\"><mutation name=\"rearLamps\"></mutation><next><block type=\"procedures_callnoreturn\" id=\"8f(Qs)ZQ[Q3^qXHUtRud\"><mutation name=\"reverseLight\"></mutation><next><block type=\"procedures_callnoreturn\" id=\"ei!XBFt_^onMd2wfi63h\"><mutation name=\"stopLights\"></mutation><next><block type=\"procedures_callnoreturn\" id=\"YQm@NH@uL}h1!.ltSn)8\"><mutation name=\"turnSignals\"></mutation><next><block type=\"procedures_callnoreturn\" id=\"%P4GW^:/hK!g_Dh_/[Nj\"><mutation name=\"servos\"></mutation><next><block type=\"timer_delay_ms\" id=\"RG~m,c|7sciooOzeu{t?\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"a4Yf(In^=ZfU^)H3+%5K\"><field name=\"NUM\">100</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block><block type=\"procedures_defnoreturn\" id=\"V070%tK;)|qkr838an`]\" x=\"670\" y=\"-50\"><field name=\"NAME\">frontLamps</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"controls_ifelse\" id=\"8;Nn$pC]W97~)0f_3bOZ\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"6$gq|(XQc7yV6MZ%vIHd\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_map_key\" id=\"A7nw?a7%oCA5-SDeruwr\"><value name=\"key\"><block type=\"text\" id=\"kqOePWG](u_hSaimWZru\"><field name=\"TEXT\">frontLamps</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"e5eM#Y8_:oNV^RWW/mDc\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value><value name=\"B\"><block type=\"logic_boolean\" id=\"]J/cBUUatSKwGp76j7^+\"><field name=\"BOOL\">TRUE</field></block></value></block></value><statement name=\"DO0\"><block type=\"rgb_set_matrix_input\" id=\"{!YC96[R_fP?a|gY4Bhm\"><value name=\"INDEX\"><shadow type=\"math_slider\" id=\"[*e8nj%MU%=wsK/L`Kci\"><field name=\"NUM\" min=\"1\" max=\"25\" step=\"1\">2</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"LhF4+JpVh:pP^,l6zdh~\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#ffffff</field></block></value><next><block type=\"rgb_set_matrix_input\" id=\"RIS5$+u~Er;J,Bc40ky=\"><value name=\"INDEX\"><shadow type=\"math_slider\" id=\"~(?dAc]DUWk2^JoT@4Xt\"><field name=\"NUM\" min=\"1\" max=\"25\" step=\"1\">4</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"[G%?vKUy~h:zO_XYYur[\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#ffffff</field></block></value></block></next></block></statement><statement name=\"ELSE\"><block type=\"rgb_set_matrix_input\" id=\"c3QuNhjY~P:^M#e8,ARi\"><value name=\"INDEX\"><shadow type=\"math_slider\" id=\";.WA2*M#MhL){*?qzQxw\"><field name=\"NUM\" min=\"1\" max=\"25\" step=\"1\">2</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"(Xz#G~nH[A?YL_(w~3Qc\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#000000</field></block></value><next><block type=\"rgb_set_matrix_input\" id=\"#X78[Cx-e}qcB6tnUutk\"><value name=\"INDEX\"><shadow type=\"math_slider\" id=\"[.~EGhubebsEyjJ^}%/Q\"><field name=\"NUM\" min=\"1\" max=\"25\" step=\"1\">4</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\";#^N1)4u51=6^;J5T74[\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#000000</field></block></value></block></next></block></statement></block></statement></block><block type=\"procedures_defnoreturn\" id=\"5bZo/VDyy`:lCwI+xkF:\" x=\"1370\" y=\"-50\"><mutation><arg name=\"raw\" varid=\"P1`GH*(SCgh/[^%uUV(P\"></arg></mutation><field name=\"NAME\">setSpeed</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"controls_if\" id=\"o5m0kot1syc-LCFB`F6v\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"pY(eM{nc#Sb6@oaSfWR$\"><field name=\"OP\">NEQ</field><value name=\"A\"><block type=\"variables_get\" id=\"Xh+h)$Z4uDs:@yB.hDGK\"><field name=\"VAR\" id=\"P1`GH*(SCgh/[^%uUV(P\">raw</field></block></value><value name=\"B\"><block type=\"get_map_key\" id=\"wilOJBg+Go?3I{n5KD}F\"><value name=\"key\"><block type=\"text\" id=\"#kd+F,R*|^nO$:!5u8yi\"><field name=\"TEXT\">speed</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"Ik4jp/WusevNTi+fL^-J\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"controls_ifelse\" id=\"ZbTA;PFO~$LkT1?pje-h\"><value name=\"IF0\"><block type=\"logic_compare\" id=\".h9W89zCbomX!UDkB^uo\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"|^[7.aZO;E-$%k5A2bt(\"><field name=\"VAR\" id=\"P1`GH*(SCgh/[^%uUV(P\">raw</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"dj@);nr}vE(-]iI37`5_\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_map_key\" id=\"vRA+E~Rj,l.M]ic~o=Mv\"><value name=\"map\"><block type=\"variables_get\" id=\":(Wx/cKvJ@n*L[Y!|{|P\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value><value name=\"key\"><block type=\"text\" id=\"dp]-0*!lF5}OA(8YZ(U[\"><field name=\"TEXT\">reverseLight</field></block></value><value name=\"value\"><block type=\"logic_boolean\" id=\"tjz.11fxr+($ZHaQfYBi\"><field name=\"BOOL\">TRUE</field></block></value></block></statement><statement name=\"ELSE\"><block type=\"set_map_key\" id=\"xzw:uW(WRO`_a-6)FV!*\"><value name=\"map\"><block type=\"variables_get\" id=\"a#$Tv%^sIXu.!8v%4;{#\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value><value name=\"key\"><block type=\"text\" id=\".kYl/!`Ks7.V|XP2tIXB\"><field name=\"TEXT\">reverseLight</field></block></value><value name=\"value\"><block type=\"logic_boolean\" id=\"KEE;-_(Xj6k4Hjo;I[S+\"><field name=\"BOOL\">FALSE</field></block></value></block></statement><next><block type=\"controls_if\" id=\"Fe|wg-K_)S#l/{;XVD7j\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"vpXS7Xmk303HGpkCfS^X\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"p#aqeF!So.#hU1z8f]:V\"><field name=\"VAR\" id=\"P1`GH*(SCgh/[^%uUV(P\">raw</field></block></value><value name=\"B\"><block type=\"get_map_key\" id=\"V+r;c(NT)]M5a,*|2vW,\"><value name=\"key\"><block type=\"text\" id=\";Y/f.ks[W0N:[sOfJBV;\"><field name=\"TEXT\">speed</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"=z5e{)(NQo5#rPRas-Tu\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"set_map_key\" id=\"V3NpC+pOq]Xa_7X5S]*C\"><value name=\"map\"><block type=\"variables_get\" id=\"Fw@Q9kzqbSRiTXs^z^G4\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value><value name=\"key\"><block type=\"text\" id=\"Acp/yT`Q88IYK~mN,b8l\"><field name=\"TEXT\">stopLights</field></block></value><value name=\"value\"><block type=\"timer_get_ms\" id=\"w,Hxq0mn}(:v8qcT~q,j\"></block></value></block></statement><next><block type=\"set_map_key\" id=\"z[/!!_WCbK:r6))((WxE\"><value name=\"map\"><block type=\"variables_get\" id=\"b%1pXx)1=%iW`1vd;x@5\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value><value name=\"key\"><block type=\"text\" id=\"%y0DiAGgtel;HA_izbg}\"><field name=\"TEXT\">speed</field></block></value><value name=\"value\"><block type=\"variables_get\" id=\"th[+sXjhJ}M8QQ+WDO.D\"><field name=\"VAR\" id=\"P1`GH*(SCgh/[^%uUV(P\">raw</field></block></value></block></next></block></next></block></statement></block></statement></block><block type=\"procedures_defnoreturn\" id=\"6+(qv]Jg@V^sD!|3DH]D\" x=\"670\" y=\"230\"><field name=\"NAME\">rearLamps</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"controls_ifelse\" id=\"Bymx_fZR!)DC2A=gB+xe\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"#}x}qukV{ghk!5@Pt@+}\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_map_key\" id=\"|qvOU4uP[00!Ya]6FhF|\"><value name=\"key\"><block type=\"text\" id=\"4A#Pk96|`_7c+s8z~R)(\"><field name=\"TEXT\">rearLamps</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"OZf/y+D~@G)iE+|zlO5(\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value><value name=\"B\"><block type=\"logic_boolean\" id=\"eaKsrR0wJ8/^_{x5~Z6J\"><field name=\"BOOL\">TRUE</field></block></value></block></value><statement name=\"DO0\"><block type=\"rgb_set_matrix_input\" id=\"}K!M8Ii^_.dywEiptWG`\"><value name=\"INDEX\"><shadow type=\"math_slider\" id=\"0~kwN1]{Rf=IMX%Zn{W*\"><field name=\"NUM\" min=\"1\" max=\"25\" step=\"1\">22</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"+#*4k1%Ef;gqd9tf|SLJ\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#660000</field></block></value><next><block type=\"rgb_set_matrix_input\" id=\"DIx]iN*D(@BZ@F?s52jl\"><value name=\"INDEX\"><shadow type=\"math_slider\" id=\"A8VFxO)NhymRSlUcF1bh\"><field name=\"NUM\" min=\"1\" max=\"25\" step=\"1\">24</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"7W*[yLzRE*72L=jB^$bM\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#660000</field></block></value></block></next></block></statement><statement name=\"ELSE\"><block type=\"rgb_set_matrix_input\" id=\"T6J;-d[z)0l_8$U(PSWb\"><value name=\"INDEX\"><shadow type=\"math_slider\" id=\"G/QykXbY3leG7^#Zz{(@\"><field name=\"NUM\" min=\"1\" max=\"25\" step=\"1\">22</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"X,mMr|gPIWPtTN]kC{lW\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#000000</field></block></value><next><block type=\"rgb_set_matrix_input\" id=\"U68TPA-.P5;i{dXbLTJA\"><value name=\"INDEX\"><shadow type=\"math_slider\" id=\"#Ol`(vG)RY:Y-LP^*PPs\"><field name=\"NUM\" min=\"1\" max=\"25\" step=\"1\">24</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"U4!a!p=V|Ghp8Vr5]NEI\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#000000</field></block></value></block></next></block></statement></block></statement></block><block type=\"procedures_defnoreturn\" id=\"|XHWT:=O*NPl;8q,2/B5\" x=\"1370\" y=\"350\"><mutation><arg name=\"direction\" varid=\"]D2x[w|fT3Qe|K)Jk{=B\"></arg></mutation><field name=\"NAME\">turn</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"controls_if\" id=\"55OO+D6TM`rRDa14~ncx\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"$(b9(nZncA4-3i+@*99E\"><field name=\"OP\">NEQ</field><value name=\"A\"><block type=\"variables_get\" id=\"x2xWICWJ6yVqzH@r-HN|\"><field name=\"VAR\" id=\"]D2x[w|fT3Qe|K)Jk{=B\">direction</field></block></value><value name=\"B\"><block type=\"get_map_key\" id=\"Rh]L?/2z;eE%Kr;e3=u+\"><value name=\"key\"><block type=\"text\" id=\"Hz5sI;_NXKV(w%f{4?gf\"><field name=\"TEXT\">turning</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"5Ymw!IM7)s.Ig}^P_M!5\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\" id=\"U~86J]S=uMmAE7Nr8Jlb\"><mutation elseif=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"(R^m/?~2ba]-4{s!Uv-Q\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"lSfDt3XO0FCt{!Ql{4*5\"><field name=\"VAR\" id=\"]D2x[w|fT3Qe|K)Jk{=B\">direction</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"G#[Gf{FkB[Q8:ZU@u!b~\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_map_key\" id=\"[}F3`#2n9zma@@5Y56*J\"><value name=\"map\"><block type=\"variables_get\" id=\"Yc?IrOk(Nu,ft7$8w2AT\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value><value name=\"key\"><block type=\"text\" id=\"C1/zNaJC[E5g`/b+KaBH\"><field name=\"TEXT\">leftTurnSignals</field></block></value><value name=\"value\"><block type=\"logic_boolean\" id=\"%Gy(Mrezo~n]UlucOU1x\"><field name=\"BOOL\">TRUE</field></block></value><next><block type=\"set_map_key\" id=\"LuFzGE/O(`(d:BJqseeM\"><value name=\"map\"><block type=\"variables_get\" id=\"czeV3C~P=_!@_`{~(dM7\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value><value name=\"key\"><block type=\"text\" id=\"M9JNi~oTHR[g8^T25D;F\"><field name=\"TEXT\">rightTurnSignals</field></block></value><value name=\"value\"><block type=\"logic_boolean\" id=\"[9.6SrQ5XpLC@SvNN?bQ\"><field name=\"BOOL\">FALSE</field></block></value></block></next></block></statement><value name=\"IF1\"><block type=\"logic_compare\" id=\"0r5|2!Psi8*m:db,vss4\"><field name=\"OP\">GT</field><value name=\"A\"><block type=\"variables_get\" id=\"-`+gS5Wo*)!k32]w:^+:\"><field name=\"VAR\" id=\"]D2x[w|fT3Qe|K)Jk{=B\">direction</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"2l6!Gw.u;IZY]g%U9amg\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO1\"><block type=\"set_map_key\" id=\":pyTp$ID):2(*,Gb^usk\"><value name=\"map\"><block type=\"variables_get\" id=\"GQ;Jtk:+v84p}iQfz|AR\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value><value name=\"key\"><block type=\"text\" id=\"$t90!;it2IlrAp;AzMmU\"><field name=\"TEXT\">leftTurnSignals</field></block></value><value name=\"value\"><block type=\"logic_boolean\" id=\"4RQlW_f_){HJIf@l05.D\"><field name=\"BOOL\">FALSE</field></block></value><next><block type=\"set_map_key\" id=\"`7b6xjM=$W:bmW^$TfC(\"><value name=\"map\"><block type=\"variables_get\" id=\"Y}%Ejk/sym1};Huf=.A?\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value><value name=\"key\"><block type=\"text\" id=\"5F2HaeJf9y8V9dEp@k{B\"><field name=\"TEXT\">rightTurnSignals</field></block></value><value name=\"value\"><block type=\"logic_boolean\" id=\"@2Q!5NH+.Oo_;yD3YsyG\"><field name=\"BOOL\">TRUE</field></block></value></block></next></block></statement><next><block type=\"set_map_key\" id=\"l)`/7I(W$4u=Sck^Y%C,\"><value name=\"map\"><block type=\"variables_get\" id=\"]N3|o`r_.di,b:g{h]$,\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value><value name=\"key\"><block type=\"text\" id=\"M!@OUEnvc`9zSgU=s_6U\"><field name=\"TEXT\">turnSignals</field></block></value><value name=\"value\"><block type=\"timer_get_ms\" id=\"CG3/On*X65.{9?4$%UB9\"></block></value><next><block type=\"set_map_key\" id=\"K@B.vz?|K{D6vCFsjQ-n\"><value name=\"map\"><block type=\"variables_get\" id=\"v}tAU-@b@AJe4k?:l`X{\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value><value name=\"key\"><block type=\"text\" id=\"xIw%4q3XSKed#Fa`.a{6\"><field name=\"TEXT\">turning</field></block></value><value name=\"value\"><block type=\"variables_get\" id=\"Y2{/*g#-7}^X[pqE%7dq\"><field name=\"VAR\" id=\"]D2x[w|fT3Qe|K)Jk{=B\">direction</field></block></value></block></next></block></next></block></statement></block></statement></block><block type=\"procedures_defnoreturn\" id=\"IaWAlVv2::oFxHjm2xt(\" x=\"670\" y=\"510\"><field name=\"NAME\">reverseLight</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"controls_if\" id=\"]as#Hb=UoHNwrI|4Km`M\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"2X{Pu5Et0x!nkgx+sj:}\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_map_key\" id=\"zn`axPm!3Ln]ar/#[-#4\"><value name=\"key\"><block type=\"text\" id=\"]cy?Iyq:a`{QV7Ph|V!j\"><field name=\"TEXT\">reverseLight</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"pB/=?vR53?,a!ij;tsIb\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value><value name=\"B\"><block type=\"logic_boolean\" id=\":+VSKL9CG,zSRF)I5qN)\"><field name=\"BOOL\">TRUE</field></block></value></block></value><statement name=\"DO0\"><block type=\"rgb_set_matrix_input\" id=\"^R|IBE(y~Y$X`J=M!;AT\"><value name=\"INDEX\"><shadow type=\"math_slider\" id=\"CY,zZfXDZ79-EqNv$3*`\"><field name=\"NUM\" min=\"1\" max=\"25\" step=\"1\">23</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"B#)|Oo~=9QA*.e,[ev^0\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#ffffff</field></block></value></block></statement><statement name=\"ELSE\"><block type=\"rgb_set_matrix_input\" id=\"Q@Hz8G8)=dYy;ph^GINn\"><value name=\"INDEX\"><shadow type=\"math_slider\" id=\"C?uw?=bZKOoc|6CS^|ZC\"><field name=\"NUM\" min=\"1\" max=\"25\" step=\"1\">23</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"WQ$#s#z#.A`{P{=HmEo+\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#000000</field></block></value></block></statement></block></statement></block><block type=\"procedures_defnoreturn\" id=\"xVxSy.axSNAzrhp%z;}J\" x=\"670\" y=\"710\"><field name=\"NAME\">stopLights</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"controls_if\" id=\"fLE~jrzqvgbLAS0d61F`\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"GDydMX2/~:99iW)|V3-_\"><field name=\"OP\">NEQ</field><value name=\"A\"><block type=\"get_map_key\" id=\"#2OmIR/`X%lb?WkgK$|/\"><value name=\"key\"><block type=\"text\" id=\"Uxi|QPb/Ri;4odN_6h(e\"><field name=\"TEXT\">stopLights</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"K1X!uW!PDvi[qwg^!PAS\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value><value name=\"B\"><block type=\"math_number\" id=\"Fs^b,`P}RvACo{}t8+~u\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"rgb_set_matrix_input\" id=\"wCNY*tZxNP*56?*|G?UR\"><value name=\"INDEX\"><shadow type=\"math_slider\" id=\"h,+s=ETNJ(MIRQYLoKvE\"><field name=\"NUM\" min=\"1\" max=\"25\" step=\"1\">22</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"3WB~]**UB5xwYfkiNvaA\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#ff0000</field></block></value><next><block type=\"rgb_set_matrix_input\" id=\"?P)XicQni5AY`j=n3eX:\"><value name=\"INDEX\"><shadow type=\"math_slider\" id=\"Rl34I+G^/-/a9C`@AvoT\"><field name=\"NUM\" min=\"1\" max=\"25\" step=\"1\">24</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"VmvNvE.?*{ZD{y}k+vkV\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#ff0000</field></block></value></block></next></block></statement><next><block type=\"controls_if\" id=\"qvU/6BP5EtJdx-$#k3$4\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"w6s?9aAbUmqN9T1?/!-k\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"math_arithmetic\" id=\"4%^6|aCUe@:+SqjrtD4L\"><field name=\"OP\">MINUS</field><value name=\"A\"><block type=\"timer_get_ms\" id=\"wNXiv|x#}`[(vO72fntJ\"></block></value><value name=\"B\"><block type=\"get_map_key\" id=\"jDr{GLV?63#PS*:nO8;s\"><value name=\"key\"><block type=\"text\" id=\"ua(%m0kc(^egDAgrws^,\"><field name=\"TEXT\">stopLights</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"bgwpQ!R^uPcT_N-eeh^m\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value></block></value><value name=\"B\"><block type=\"math_number\" id=\"UXlC}{#E5FPP#]A5aBky\"><field name=\"NUM\">800</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_map_key\" id=\"Y~*$:ZRpNcY+anBW)9nl\"><value name=\"map\"><block type=\"variables_get\" id=\"7:uwP1sVuw[ia.aKZE(L\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value><value name=\"key\"><block type=\"text\" id=\"M)3uzdodrfLtX`g0`3%s\"><field name=\"TEXT\">stopLights</field></block></value><value name=\"value\"><block type=\"math_number\" id=\".(zQvJG),K[Aa#@l(IO^\"><field name=\"NUM\">0</field></block></value></block></statement></block></next></block></statement></block><block type=\"m5_espnow_recv_cb\" id=\"BaCp7h(4;u*RoaL7x4+}\" x=\"50\" y=\"850\"><value name=\"MAC\"><block type=\"variables_get\" id=\"kM:n_9)kj2%I9h-t33Zt\"><field name=\"VAR\" id=\"}OBGw%kl5q6(ap*|3$@x\">masterMAC</field></block></value><value name=\"DATA\"><block type=\"variables_get\" id=\"F:0czvo%KWr7UWec.^|/\"><field name=\"VAR\" id=\"+UdrL/5VyBAqbi=2jrGs\">masterData</field></block></value><statement name=\"FUNC\"><block type=\"procedures_callnoreturn\" id=\"AKui;TA4OcL@BAEU#{x#\"><mutation name=\"setSpeed\"><arg name=\"raw\"></arg></mutation><value name=\"ARG0\"><block type=\"__SignedByte_decode\" id=\"6mb8Z#j86E*epu:]Ir}m\"><value name=\"byte\"><block type=\"lists_getIndex\" id=\"zz,%:!Cb5c|W%-PezyF;\"><mutation statement=\"false\" at=\"false\"></mutation><field name=\"MODE\">GET</field><field name=\"WHERE\">FIRST</field><value name=\"VALUE\"><block type=\"variables_get\" id=\"gUWfBf@|V@`8woxh0WAD\"><field name=\"VAR\" id=\"+UdrL/5VyBAqbi=2jrGs\">masterData</field></block></value></block></value></block></value><next><block type=\"procedures_callnoreturn\" id=\"4vh/hcJ:ks2_PJ7a;z:9\"><mutation name=\"turn\"><arg name=\"direction\"></arg></mutation><value name=\"ARG0\"><block type=\"__SignedByte_decode\" id=\"E2=7Q?mlq#x/H;~9$AbZ\"><value name=\"byte\"><block type=\"lists_getIndex\" id=\"N)95h.A^aY:[$TMB]kRD\"><mutation statement=\"false\" at=\"false\"></mutation><field name=\"MODE\">GET</field><field name=\"WHERE\">LAST</field><value name=\"VALUE\"><block type=\"variables_get\" id=\"WKDsyTlau38hXw(5d=*I\"><field name=\"VAR\" id=\"+UdrL/5VyBAqbi=2jrGs\">masterData</field></block></value></block></value></block></value></block></next></block></statement></block><block type=\"procedures_defnoreturn\" id=\";:SIKyT~bD2E^F/~aXz{\" x=\"670\" y=\"1010\"><field name=\"NAME\">turnSignals</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"controls_if\" id=\"~*(9^yXZ`vKKuj0wwvhx\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"kp.z*mR/,0.OR@A`T,^N\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_map_key\" id=\"]gX)4^e9iI?;j.P$}Ncr\"><value name=\"key\"><block type=\"text\" id=\"4Y0_z9A8JL*`+f{F)3Q=\"><field name=\"TEXT\">leftTurnSignals</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"^UbzW!-yn~?x)6HhYzD}\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value><value name=\"B\"><block type=\"logic_boolean\" id=\"9`a6hi-C^Avga0?J|*h/\"><field name=\"BOOL\">TRUE</field></block></value></block></value><statement name=\"DO0\"><block type=\"rgb_set_matrix_input\" id=\"Y#,|Ch-uLYbB8uA-=FZ$\"><value name=\"INDEX\"><shadow type=\"math_slider\" id=\"An;VluoA:fGEZVU!+1Xj\"><field name=\"NUM\" min=\"1\" max=\"25\" step=\"1\">6</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\";Q*aG]!adxy{_RC3U6s~\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#ff9900</field></block></value><next><block type=\"rgb_set_matrix_input\" id=\"SdS~AQ;q~}H%WH%C:T5J\"><value name=\"INDEX\"><shadow type=\"math_slider\" id=\"Z{XHr(?J1]HT*iXCCBVG\"><field name=\"NUM\" min=\"1\" max=\"25\" step=\"1\">21</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"0%/I)f(UX74Vx*g`_0Jx\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#ff9900</field></block></value></block></next></block></statement><statement name=\"ELSE\"><block type=\"rgb_set_matrix_input\" id=\"YmnfFq}UvzW~iI[6a:0U\"><value name=\"INDEX\"><shadow type=\"math_slider\" id=\"Xrv7Y!;o%95`eYwrV72+\"><field name=\"NUM\" min=\"1\" max=\"25\" step=\"1\">6</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"f7sH(eD0hKV}%5R@]?6H\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#000000</field></block></value><next><block type=\"rgb_set_matrix_input\" id=\"1Pf;A.y(Zq:nd?T50[~e\"><value name=\"INDEX\"><shadow type=\"math_slider\" id=\"oheIqUh.Sk_iWn+P(H43\"><field name=\"NUM\" min=\"1\" max=\"25\" step=\"1\">21</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"Mbz/;Vi3$;o,Yy+X@DjK\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#000000</field></block></value></block></next></block></statement><next><block type=\"controls_if\" id=\"U!fM2Z9p{:fy~};j6Rk6\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"Z~.:2yfN$Xj,R-N?H=lB\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_map_key\" id=\"-Imx,2,_16%*ouslnkn[\"><value name=\"key\"><block type=\"text\" id=\"K-[eb,~mr)nVRyzrM8F9\"><field name=\"TEXT\">rightTurnSignals</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"-fYZ-]d-*BtfC#U$-jQ6\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value><value name=\"B\"><block type=\"logic_boolean\" id=\"-N?.+%la9a2`JlJwOJqp\"><field name=\"BOOL\">TRUE</field></block></value></block></value><statement name=\"DO0\"><block type=\"rgb_set_matrix_input\" id=\":4rh3bXyM7M[ZKS~P/$:\"><value name=\"INDEX\"><shadow type=\"math_slider\" id=\"Ft2oN_xo:kewxnOhn:,]\"><field name=\"NUM\" min=\"1\" max=\"25\" step=\"1\">10</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"8NhH^tV^BrEe6~z9HJ|z\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#ff9900</field></block></value><next><block type=\"rgb_set_matrix_input\" id=\"BsOJFugo@Y;6RebFe/(}\"><value name=\"INDEX\"><shadow type=\"math_slider\" id=\"+[#S(5XL42zM}/`G4$Z3\"><field name=\"NUM\" min=\"1\" max=\"25\" step=\"1\">25</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"epaHg=kMX?Vg:U95;99R\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#ff9900</field></block></value></block></next></block></statement><statement name=\"ELSE\"><block type=\"rgb_set_matrix_input\" id=\"aPl}aKMiM}*vxx),IQ]D\"><value name=\"INDEX\"><shadow type=\"math_slider\" id=\"]oYp6zcfJTaU8q3R:p:1\"><field name=\"NUM\" min=\"1\" max=\"25\" step=\"1\">10</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"Zsx[=~f-N5_=;WJXcIpK\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#000000</field></block></value><next><block type=\"rgb_set_matrix_input\" id=\"4nSL~hE)3c#n9UVxSyoM\"><value name=\"INDEX\"><shadow type=\"math_slider\" id=\"aC~F9e-i3[)#xVYn13N@\"><field name=\"NUM\" min=\"1\" max=\"25\" step=\"1\">25</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"y|yZ4gNpvI`7n_:L?9-Q\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#000000</field></block></value></block></next></block></statement><next><block type=\"controls_if\" id=\"MNybZ.;F`HQYL+fh%P1Y\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"T]6*_(Kq2HuNh~.=yQWS\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"math_arithmetic\" id=\":J6dWFc!/Y+.MJ1e^Ga3\"><field name=\"OP\">MINUS</field><value name=\"A\"><block type=\"timer_get_ms\" id=\"2_QwedOJItdf2k#@h|=F\"></block></value><value name=\"B\"><block type=\"get_map_key\" id=\"nNJ|bR[.o=1rGU]pyJr+\"><value name=\"key\"><block type=\"text\" id=\"?f6xWx~5:|1m8`!{*O7w\"><field name=\"TEXT\">turnSignals</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"W7-tV/X$ZOBaK)uh#ry}\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value></block></value><value name=\"B\"><block type=\"math_number\" id=\"U2m/YeEj#!}VRYZB9El]\"><field name=\"NUM\">200</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\" id=\"XdLwAEc^DrORQ$MIgTq0\"><mutation elseif=\"1\" else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"|HWy3@t8]yoHq408:qt!\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"get_map_key\" id=\"e0E;m9[1N3K`TK|=k?4Y\"><value name=\"key\"><block type=\"text\" id=\";;eZlxkg=BDsl:BWV(%[\"><field name=\"TEXT\">turning</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"K/OPL.n/~O%yu^1i]:5V\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value><value name=\"B\"><block type=\"math_number\" id=\"3^cmOZLp62aQH3rqppGy\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_map_key\" id=\"zC#ZA1H{14rGAvW`ej[f\"><value name=\"map\"><block type=\"variables_get\" id=\"QcXvzqodc?B_(%iS!0zT\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value><value name=\"key\"><block type=\"text\" id=\"I_~U4Qmv1Xwz$G|Uz%~2\"><field name=\"TEXT\">leftTurnSignals</field></block></value><value name=\"value\"><block type=\"logic_negate\" id=\"?v]Knq}r)kkHLLg}hOF)\"><value name=\"BOOL\"><block type=\"get_map_key\" id=\"V}P(g;[j*0S:1J!^5{KV\"><value name=\"key\"><block type=\"text\" id=\"s?y:8o[V{-y=/^!leP/@\"><field name=\"TEXT\">leftTurnSignals</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"[K1AST)G{o_+VjZj?N]P\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value></block></value></block></statement><value name=\"IF1\"><block type=\"logic_compare\" id=\"~HlKfS[#qf77tOEzy7f,\"><field name=\"OP\">GT</field><value name=\"A\"><block type=\"get_map_key\" id=\"uQuY1Hf?^A]_vHWvJ_23\"><value name=\"key\"><block type=\"text\" id=\"h%z0cY|L?9ZZD3R]|T=6\"><field name=\"TEXT\">turning</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"3DuIV5I7GJ9VJHFd-O|3\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value><value name=\"B\"><block type=\"math_number\" id=\"HNtle=ng`?pp6E~.2?tH\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO1\"><block type=\"set_map_key\" id=\"3F/PDl?M?7;Cl!om(i88\"><value name=\"map\"><block type=\"variables_get\" id=\"zldwm/hY-OME/(U~~0?A\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value><value name=\"key\"><block type=\"text\" id=\"T/!H|aa*|$5AfT!Uw8Lz\"><field name=\"TEXT\">rightTurnSignals</field></block></value><value name=\"value\"><block type=\"logic_negate\" id=\"!U#a?^nMn]r!szEy,v^/\"><value name=\"BOOL\"><block type=\"get_map_key\" id=\"w(Y}HfF3Vm~70m6oUrm[\"><value name=\"key\"><block type=\"text\" id=\",z^!`Z/bdCwtiB:Ek_S4\"><field name=\"TEXT\">rightTurnSignals</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"Y9zlySS[3fY+N/T86NlU\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value></block></value></block></statement><statement name=\"ELSE\"><block type=\"set_map_key\" id=\"}GN/=aDOK[}3`c6tP}xv\"><value name=\"map\"><block type=\"variables_get\" id=\"Rz/|s^V6$J2U1E8.D@xM\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value><value name=\"key\"><block type=\"text\" id=\"tUjlH[#vzBYWI}6`mH=X\"><field name=\"TEXT\">leftTurnSignals</field></block></value><value name=\"value\"><block type=\"logic_boolean\" id=\"v9u3V:=DAhLkg/5t@vwB\"><field name=\"BOOL\">FALSE</field></block></value><next><block type=\"set_map_key\" id=\"uZLs}oA]B)7})VNBe-zD\"><value name=\"map\"><block type=\"variables_get\" id=\"!8DM8IcdU`K)g~pec0Re\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value><value name=\"key\"><block type=\"text\" id=\"pI{stXs[S0iO!E|?*~WP\"><field name=\"TEXT\">rightTurnSignals</field></block></value><value name=\"value\"><block type=\"logic_boolean\" id=\"Ir$*XJw~d6LgKkahQz](\"><field name=\"BOOL\">FALSE</field></block></value></block></next></block></statement><next><block type=\"set_map_key\" id=\"md4],6!?UG16!bZXaErR\"><value name=\"map\"><block type=\"variables_get\" id=\"19Ivn-Ij(o9kr[HtKtMu\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value><value name=\"key\"><block type=\"text\" id=\"Z77wQ22hMIXfyvRKL3^^\"><field name=\"TEXT\">turnSignals</field></block></value><value name=\"value\"><block type=\"timer_get_ms\" id=\"B~Zk5+:MJXL,|_r}k,E5\"></block></value></block></next></block></statement></block></next></block></next></block></statement></block><block type=\"procedures_defnoreturn\" id=\"23pI:H^TGV``IY)DJEoa\" x=\"670\" y=\"1930\"><field name=\"NAME\">servos</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"controls_if\" id=\"f(ycE~26YOMsj8hQp=0t\"><mutation elseif=\"1\" else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"U9TS.IuMMM%bMQ?xaD$t\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_map_key\" id=\";s6ZLhKQ(4*gb}ez|evd\"><value name=\"key\"><block type=\"text\" id=\"dWc=1ILaefT0UyO19Tq0\"><field name=\"TEXT\">turning</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"jH_dP+oj%h3D^DCvd%n6\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value><value name=\"B\"><block type=\"math_number\" id=\"j?!{35J6m!;4RT]7WY{t\"><field name=\"NUM\">-1</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_ifelse\" id=\"2i9iHT-`45lhB-D5bl-%\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"Z`I#Oi[a`{,B,yB}M;UF\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"get_map_key\" id=\"OLb*!y7MSTMg0~!{vf{:\"><value name=\"key\"><block type=\"text\" id=\"{rF9eN/sGXLnyom}KfKV\"><field name=\"TEXT\">speed</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"lx$??BO,gVik;zxqUq6W\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value><value name=\"B\"><block type=\"math_number\" id=\"eP=bAJAu%R~gxA%f}Z-r\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"iic_write_byte\" id=\"~M8bZ6#n}gC;r}?Wr5dZ\"><field name=\"i2c\">i2c1</field><value name=\"req\"><shadow type=\"math_number\" id=\"IC5m?}-(LK?NFgQp$Fou\"><field name=\"NUM\">0x00</field></shadow></value><value name=\"data\"><shadow type=\"math_number\" id=\"CTn}q,N|T^86L=#qkHi%\"><field name=\"NUM\">0x5A</field></shadow><block type=\"math_arithmetic\" id=\"{/;KS9*]oo)NmLK?Bpji\"><field name=\"OP\">MINUS</field><value name=\"A\"><block type=\"math_number\" id=\"%m9QCdF`DsPy2twY^-%q\"><field name=\"NUM\">0x5A</field></block></value><value name=\"B\"><block type=\"get_map_key\" id=\"f1F[N_Z+9xF6YrO^X5+p\"><value name=\"key\"><block type=\"text\" id=\"bNmA6(9nbF`5nW`-j6Oq\"><field name=\"TEXT\">speed</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"|^wge`41QYRN-L[x@#L)\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value></block></value><next><block type=\"iic_write_byte\" id=\";GW4[_AxlZ^^Fb~2X~.O\"><field name=\"i2c\">i2c1</field><value name=\"req\"><shadow type=\"math_number\" id=\"QkPvQDui@`k}CEegphzi\"><field name=\"NUM\">0x01</field></shadow></value><value name=\"data\"><shadow type=\"math_number\" id=\"JK!*^wj+/:Y-Y#6[|6EG\"><field name=\"NUM\">0x5A</field></shadow><block type=\"math_arithmetic\" id=\"P2V(2+7!l.GpGZm-#w.X\"><field name=\"OP\">MINUS</field><value name=\"A\"><block type=\"math_number\" id=\"W1d:l`VLb3#u9ebSI8#(\"><field name=\"NUM\">0x5A</field></block></value><value name=\"B\"><block type=\"get_map_key\" id=\"]tz0*-,fyC8hCzy__1sg\"><value name=\"key\"><block type=\"text\" id=\"qgk%o2$6A=rLeNP|h[R0\"><field name=\"TEXT\">speed</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"m]o|m8i)2,Yr:9u.}A72\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value></block></value></block></next></block></statement><statement name=\"ELSE\"><block type=\"iic_write_byte\" id=\"]dt:-)2NCz;{@y-W5i$-\"><field name=\"i2c\">i2c1</field><value name=\"req\"><shadow type=\"math_number\" id=\"7MVcUu58_qzH+?h}Q104\"><field name=\"NUM\">0x00</field></shadow></value><value name=\"data\"><shadow type=\"math_number\" id=\"?[#,7F7%!9WDXk8o0^`7\"><field name=\"NUM\">0x5A</field></shadow></value><next><block type=\"iic_write_byte\" id=\"O~bp/*SnUUjvQ4u1H|qz\"><field name=\"i2c\">i2c1</field><value name=\"req\"><shadow type=\"math_number\" id=\"G{+or[S:=7gVd|wB#{/0\"><field name=\"NUM\">0x01</field></shadow></value><value name=\"data\"><shadow type=\"math_number\" id=\"C9S]NQ@2J(x7RYaz$?Kt\"><field name=\"NUM\">0x5A</field></shadow><block type=\"math_arithmetic\" id=\"my%Xd$6Y*(5G(-yBo.CO\"><field name=\"OP\">MINUS</field><value name=\"A\"><block type=\"math_number\" id=\"f])/L$gFVhO?~Sjt^B)j\"><field name=\"NUM\">0x5A</field></block></value><value name=\"B\"><block type=\"get_map_key\" id=\"{j@qxv`a~fHnNlJDpe5.\"><value name=\"key\"><block type=\"text\" id=\":tW%#h8aCU,Y01G6+=P`\"><field name=\"TEXT\">speed</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"`YNi$gjc._.?w/K;His^\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value></block></value></block></next></block></statement></block></statement><value name=\"IF1\"><block type=\"logic_compare\" id=\"wuIN3S8vkwSzq.4F%TFk\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_map_key\" id=\"jLHG/7xUpO+u:}9?c?l#\"><value name=\"key\"><block type=\"text\" id=\"DP{)g6lma`f[b`%KNdPA\"><field name=\"TEXT\">turning</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"B04B9!SXS^0V%9,BEU_A\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value><value name=\"B\"><block type=\"math_number\" id=\"ROA!J^r8vN`)K#PS8npB\"><field name=\"NUM\">1</field></block></value></block></value><statement name=\"DO1\"><block type=\"controls_ifelse\" id=\"7SUgz],oa=B+T6y92-d8\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"lVytL-(Kfm~FZaCN}t3E\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"get_map_key\" id=\"ClbLW=b6]Mm_~A[`._+*\"><value name=\"key\"><block type=\"text\" id=\"~f;7cl^+)xp{!AWkM*HL\"><field name=\"TEXT\">speed</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"wy*+_K]C]fnPrrQ$.pH+\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value><value name=\"B\"><block type=\"math_number\" id=\"nD2E5}2ln-U*3^^.*c]/\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"iic_write_byte\" id=\"E5$F;Sh`01]zB|WQKw7R\"><field name=\"i2c\">i2c1</field><value name=\"req\"><shadow type=\"math_number\" id=\"nd=@qDd6wMBj3WOb[-?m\"><field name=\"NUM\">0x00</field></shadow></value><value name=\"data\"><shadow type=\"math_number\"><field name=\"NUM\">0x5A</field></shadow><block type=\"math_arithmetic\" id=\"L-JEX-Ia-uI/ZOjRSfSO\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"math_number\" id=\"][Q4Ub4q^D2:mA#sz.pO\"><field name=\"NUM\">0x5A</field></block></value><value name=\"B\"><block type=\"get_map_key\" id=\"e6-)UG!6g-?o)MHE8rrp\"><value name=\"key\"><block type=\"text\" id=\"@CxR=aI4tg6)j{_2a,,a\"><field name=\"TEXT\">speed</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"MffmqtfW6SF])PESxD;n\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value></block></value><next><block type=\"iic_write_byte\" id=\":Rz`MNU`]*T1-SuNVfD{\"><field name=\"i2c\">i2c1</field><value name=\"req\"><shadow type=\"math_number\" id=\"ub;jLF}Uq#!Rk.7b`xNY\"><field name=\"NUM\">0x01</field></shadow></value><value name=\"data\"><shadow type=\"math_number\"><field name=\"NUM\">0x5A</field></shadow><block type=\"math_arithmetic\" id=\"R`Efa1vhw%;U?`3#Wh[(\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"math_number\" id=\".8=9ZNt2Bk3dT4=zb2$@\"><field name=\"NUM\">0x5A</field></block></value><value name=\"B\"><block type=\"get_map_key\" id=\"6zfRS^+D;yB4Q$Ag/8Hv\"><value name=\"key\"><block type=\"text\" id=\"^oy9Jrrczo@O`ip+MSPV\"><field name=\"TEXT\">speed</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"mg~,I|^.)f:%8/4O%+c5\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value></block></value></block></next></block></statement><statement name=\"ELSE\"><block type=\"iic_write_byte\" id=\"qtO{ia//[uHn;UJW^J]o\"><field name=\"i2c\">i2c1</field><value name=\"req\"><shadow type=\"math_number\" id=\",p8Wpb#tfsF7!F-(QoQw\"><field name=\"NUM\">0x00</field></shadow></value><value name=\"data\"><shadow type=\"math_number\" id=\"EY7%m0Nc+$s?]d4t@QdJ\"><field name=\"NUM\">0x5A</field></shadow><block type=\"math_arithmetic\" id=\"~f[zl@3%q-}FzESg~]n?\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"math_number\" id=\"?*J[uNSOw4%1o:Wt#(=%\"><field name=\"NUM\">0x5A</field></block></value><value name=\"B\"><block type=\"get_map_key\" id=\",!e0%P?7kSkcMMzi3115\"><value name=\"key\"><block type=\"text\" id=\"T;%tPjxq(w(N8piy7SBF\"><field name=\"TEXT\">speed</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"a3#{Iswm[GsWtT0vC[L:\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value></block></value><next><block type=\"iic_write_byte\" id=\"phSLKB#g7x:rYhlR=U1w\"><field name=\"i2c\">i2c1</field><value name=\"req\"><shadow type=\"math_number\" id=\"#7MyUxmUx^VQaCvY!7),\"><field name=\"NUM\">0x01</field></shadow></value><value name=\"data\"><shadow type=\"math_number\" id=\"T7;dDcr*FZQ]d@%j}o?%\"><field name=\"NUM\">0x5A</field></shadow></value></block></next></block></statement></block></statement><statement name=\"ELSE\"><block type=\"iic_write_byte\" id=\"Dz!v!ogxG_)XtBP#%oHc\"><field name=\"i2c\">i2c1</field><value name=\"req\"><shadow type=\"math_number\" id=\"korbcifeD+[uMyQkmB`E\"><field name=\"NUM\">0x00</field></shadow></value><value name=\"data\"><shadow type=\"math_number\" id=\"OUEj-}ncK3SBl!fK5ss1\"><field name=\"NUM\">0x64</field></shadow><block type=\"math_arithmetic\" id=\"xf|ya*Pu+g)+^iaH=}CT\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"math_number\" id=\"=a$o{a8|2JJMR7qx!G6m\"><field name=\"NUM\">0x5A</field></block></value><value name=\"B\"><block type=\"get_map_key\" id=\"d0H~d^m2O8VYV#lZ:_hd\"><value name=\"key\"><block type=\"text\" id=\"euhVHA.%R9UfuRKv1;0.\"><field name=\"TEXT\">speed</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"S+rbR3V,y=DQ]63LYv8Q\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value></block></value><next><block type=\"iic_write_byte\" id=\"BI%/rf3`,m!_R4]ofzuv\"><field name=\"i2c\">i2c1</field><value name=\"req\"><shadow type=\"math_number\" id=\"8C+vYB.JqsfNHs1r}1li\"><field name=\"NUM\">0x01</field></shadow></value><value name=\"data\"><shadow type=\"math_number\" id=\"DF]Ul8fh+Q:4.5ji]90A\"><field name=\"NUM\">0x50</field></shadow><block type=\"math_arithmetic\" id=\";UdaDYQW!Eeu[!l8.$bK\"><field name=\"OP\">MINUS</field><value name=\"A\"><block type=\"math_number\" id=\"eelELHOyn|@c:7?vKGL~\"><field name=\"NUM\">0x5A</field></block></value><value name=\"B\"><block type=\"get_map_key\" id=\"h|rO~eLRc-^.k=3cG2tR\"><value name=\"key\"><block type=\"text\" id=\"`F9Cf8{du9n#U+36*t2}\"><field name=\"TEXT\">speed</field></block></value><value name=\"map\"><block type=\"variables_get\" id=\"1im3=WnCx/4/V(+R-Jp=\"><field name=\"VAR\" id=\"F_A7WPJ5g`yE^3ykoMII\">state</field></block></value></block></value></block></value></block></next></block></statement></block></statement></block>","Blockly.Remotes":[],"Blockly.RemotePlus":[{"id":"__title","blockId":"","createTime":1694443816931,"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":"4mmJ7KXkjHyG4mtIneO7mupLwS1HsD1m","topic":"","needShadow":false,"type":"title","x":0,"y":0}],"modules":["rgb","imu","remote"],"cbIdList_":[],"eventCBIdList_":[],"matrix":["#111111","#111111","#111111","#111111","#111111","#111111","#111111","#111111","#111111","#111111","#111111","#111111","#111111","#111111","#111111","#111111","#111111","#111111","#111111","#111111","#111111","#111111","#111111","#111111","#111111"],"apikey":"","uuid":"70323b8b-7738-4ab7-bb26-383b74797cd9"}
|