+{"version":"V2.0","versionNumber":"V2.1.6","type":"stickc-plus2","components":[{"name":"screen","type":"screen","layer":0,"screenId":"builtin","screenName":"","id":"__stickc-plus2_screen","createTime":1730193842205,"x":0,"y":0,"width":135,"height":240,"backgroundColor":"#000000","size":0,"isSelected":true},{"name":"label0","type":"label","layer":1,"screenId":"builtin","screenName":"","id":"kS!fatSHiT!az1aV","createTime":1730347329701,"x":29,"y":36,"color":"#ffffff","backgroundColor":"#222222","text":"label0","engine":"gfx","font":"Widgets.FONTS.DejaVu24","rotation":0,"isSelected":false,"width":76,"height":28},{"name":"label1","type":"label","layer":2,"screenId":"builtin","screenName":"","id":"e1DM86gJW1CyY2L+","createTime":1730347366455,"x":44,"y":98,"color":"#ffffff","backgroundColor":"#222222","text":"0","engine":"gfx","font":"Widgets.FONTS.DejaVu72","rotation":0,"isSelected":false,"width":46,"height":82}],"resources":[{"hardware":["hardware_button","hardware_pin_button","imu","speaker","ir"]},{"unit":["unit_uwb"]}],"units":[{"type":"unit_uwb","name":"uwb_0","portList":["A","B","C","Custom"],"portType":"A","userPort":[22,21],"id":"wq&#vJ&koZE@^zfm","createTime":1730344044442}],"hats":[],"bases":[],"i2cs":[],"blockly":"<variables><variable id=\"T8s9UNT5^y?dX3U~5cg^\">anchor_id</variable></variables><block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"50\" y=\"130\"><mutation isBegin=\"true\"></mutation><field name=\"UPDATEOP\">true</field><statement name=\"FUNC\"><block type=\"system_m5_begin\" id=\"system_m5_begin\"><next><block type=\"variables_set\" id=\"S$]E#@jpynr?KEX+;#)V\"><field name=\"VAR\" id=\"T8s9UNT5^y?dX3U~5cg^\">anchor_id</field><value name=\"VALUE\"><block type=\"math_number\" id=\"yVm.0,gX%|QLXw@,IAlA\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">0</field></block></value><next><block type=\"unit_uwb_init\" id=\"l?Z-Mt/:=}pA__5xI+U#\"><mutation mode=\"anchor\"></mutation><field name=\"NAME\">uwb_0</field><field name=\"MODE\">anchor</field><field name=\"VERBOSE\">False</field><value name=\"UART\"><shadow type=\"unit_uwb_id_option\" id=\"L_P1lWwVsGtGvNA(OKGq\"><field name=\"VALUE\">2</field></shadow></value><value name=\"ID\"><shadow type=\"math_slider\" id=\"os*@nftr+uU)%2Vy{sN`\"><mutation max=\"3\" min=\"0\" step=\"1\" precision=\"1\"></mutation><field name=\"NUM\">0</field></shadow></value><next><block type=\"text_print\" id=\"3dTe7EVevm!T1qziE:TN\"><value name=\"TEXT\"><shadow type=\"text\" id=\".U$~maX2:CS.h7UGM%J0\"><field name=\"TEXT\">hello M5</field></shadow><block type=\"unit_uwb_isconnected\" id=\"1Ilr{.5D_]$V!aw~|/-m\"><field name=\"NAME\">uwb_0</field></block></value><next><block type=\"text_print\" id=\".r/va~JId_QFI2[GY(/a\"><value name=\"TEXT\"><shadow type=\"text\" id=\".U$~maX2:CS.h7UGM%J0\"><field name=\"TEXT\">hello M5</field></shadow><block type=\"unit_uwb_get_version\" id=\"dR~e.dW6T1)L2$V_}xu^\"><field name=\"NAME\">uwb_0</field></block></value><next><block type=\"controls_ifelse\" id=\"Ojlibonp.)KD:cH0h.bw\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"9Vt2j.Ll5CA*1-A~WDHy\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"unit_uwb_get_device_mode\" id=\")f6Q@DG02YrES(]!i@tu\"><field name=\"NAME\">uwb_0</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"yBCte7CqdfYa.L14ljg~\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">1</field></block></value></block></value><statement name=\"DO0\"><block type=\"label_set_text\" id=\"QCkkrD1J4(2#c)@ao|94\"><field name=\"NAME\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"dNgYG$TS]CM?h#aq#]PF\"><field name=\"TEXT\">Anchor</field></shadow></value></block></statement><statement name=\"ELSE\"><block type=\"label_set_text\" id=\"e_H3b=J_/UdQDBpZfPyk\"><field name=\"NAME\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"xAH+VX~Fn@8U,@6.@HN?\"><field name=\"TEXT\">Tag</field></shadow></value></block></statement><next><block type=\"label_set_text\" id=\"aLo~3.;NE(6l%oPM]CIa\"><field name=\"NAME\">label1</field><value name=\"TEXT\"><shadow type=\"text\" id=\";8)L(!fF8(y.9n~l8[FC\"><field name=\"TEXT\">Label</field></shadow><block type=\"unit_uwb_get_device_id\" id=\"4t))mp3g|Uth_1Y(ApPc\"><field name=\"NAME\">uwb_0</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type=\"basic_on_loop\" id=\"loop_block\" deletable=\"false\" x=\"70\" y=\"650\"><mutation isUpdate=\"true\"></mutation><field name=\"UPDATEOP\">true</field><statement name=\"FUNC\"><block type=\"system_m5_update\" id=\"system_m5_update\"></block></statement></block><block type=\"button_callback\" id=\"vD0yF+W?3f:#~L86,gxB\" x=\"50\" y=\"810\"><field name=\"NAME\">BtnA</field><field name=\"TYPE\">WAS_CLICKED</field><statement name=\"FUNC\"><block type=\"variables_set\" id=\"Pl5u[c_qq,.U0P3ZR-zf\"><field name=\"VAR\" id=\"T8s9UNT5^y?dX3U~5cg^\">anchor_id</field><value name=\"VALUE\"><block type=\"math_arithmetic\" id=\"*p7AM(5O(YhIM4/RY#d}\"><field name=\"OP\">REMAINDER</field><value name=\"A\"><shadow type=\"math_number\" id=\":9svC$F.VvBITGBx^^6!\" disabled=\"true\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">1</field></shadow><block type=\"math_arithmetic\" id=\"7xjEo/EeL9hIfD^$MsB}\"><field name=\"OP\">ADD</field><value name=\"A\"><shadow type=\"math_number\" id=\"#W,z3^mvKL}d{),}fwI$\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">1</field></shadow><block type=\"variables_get\" id=\"_hh;s3juU/F-u@aXr9Y?\"><field name=\"VAR\" id=\"T8s9UNT5^y?dX3U~5cg^\">anchor_id</field></block></value><value name=\"B\"><shadow type=\"math_number\" id=\"l`iYBe%ZZnka!eeOV{S=\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">1</field></shadow></value></block></value><value name=\"B\"><shadow type=\"math_number\" id=\"Oy6gNP`*gX,CAnQP8;Kr\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">4</field></shadow></value></block></value><next><block type=\"unit_uwb_set_device_mode\" id=\"018osu3]OFaeFI#v|Yan\"><mutation mode=\"anchor\"></mutation><field name=\"NAME\">uwb_0</field><field name=\"OPTION\">anchor</field><value name=\"ID\"><shadow type=\"math_slider\" id=\"I?zD!y2)T(*9Uw7}yod/\"><mutation max=\"3\" min=\"0\" step=\"1\" precision=\"1\"></mutation><field name=\"NUM\">2</field></shadow><block type=\"variables_get\" id=\"JU8{e@NkmS%mVCdECa1_\"><field name=\"VAR\" id=\"T8s9UNT5^y?dX3U~5cg^\">anchor_id</field></block></value><next><block type=\"label_set_text\" id=\"U5e`c697{!:8]//W|`KG\"><field name=\"NAME\">label1</field><value name=\"TEXT\"><shadow type=\"text\" id=\";8)L(!fF8(y.9n~l8[FC\"><field name=\"TEXT\">Label</field></shadow><block type=\"unit_uwb_get_device_id\" id=\"#l5!}bWD$}@mC5WmA~.{\"><field name=\"NAME\">uwb_0</field></block></value></block></next></block></next></block></statement></block>","screen":[{"simulationName":"Built-in","type":"builtin","width":135,"height":240,"scale":0.92,"screenName":"","blockId":"","screenColorType":0,"id":"builtin","createTime":1730193842203}],"logicWhenNum":0,"customList":[]}
0 commit comments