+{"version":"V2.0","versionNumber":"V2.2.1","type":"cores3","components":[{"name":"screen","type":"screen","layer":0,"screenId":"builtin","screenName":"","id":"__cores3_screen","createTime":1738984206533,"x":0,"y":0,"width":320,"height":240,"backgroundColor":"#222222","size":0,"isSelected":true},{"name":"title0","type":"title","layer":1,"screenId":"builtin","screenName":"","id":"lHDFJlvUVPDKu#oE","createTime":1738987578355,"x":0,"y":0,"color":"#ffffff","backgroundColor":"#0000FF","text":"UnitASR M5CoreS3 Example","textOffset":3,"font":"Widgets.FONTS.DejaVu18","isSelected":false},{"name":"label0","type":"label","layer":2,"screenId":"builtin","screenName":"","id":"lh3@VMN=YN%jIUPQ","createTime":1738987596235,"x":0,"y":51,"color":"#ffffff","backgroundColor":"#222222","text":"msg:","engine":"gfx","font":"Widgets.FONTS.DejaVu18","rotation":0,"isSelected":false},{"name":"label1","type":"label","layer":3,"screenId":"builtin","screenName":"","id":"qb7`E!xf%-#yrXYt","createTime":1738987598852,"x":0,"y":93,"color":"#ffffff","backgroundColor":"#222222","text":"rec cmd num:","engine":"gfx","font":"Widgets.FONTS.DejaVu18","rotation":0,"isSelected":false},{"name":"label2","type":"label","layer":4,"screenId":"builtin","screenName":"","id":"p8On-oS$5RBen$tz","createTime":1738987601502,"x":0,"y":134,"color":"#ffffff","backgroundColor":"#222222","text":"rec cmd word:","engine":"gfx","font":"Widgets.FONTS.DejaVu18","rotation":0,"isSelected":false},{"name":"label3","type":"label","layer":5,"screenId":"builtin","screenName":"","id":"mVd*nC3=WQFN4CHw","createTime":1738987604932,"x":0,"y":178,"color":"#ffffff","backgroundColor":"#222222","text":"rec cmd handler state:","engine":"gfx","font":"Widgets.FONTS.DejaVu18","rotation":0,"isSelected":false}],"resources":[{"hardware":["hardware_button","hardware_pin_button","imu","speaker","touch","als","mic"]},{"unit":["unit_asr"]}],"units":[{"type":"unit_asr","name":"asr_0","portList":["A","B","C","Custom"],"portType":"A","userPort":[22,21],"id":"jKk&28cMoM6zop1-","createTime":1739442702079,"initBlockId":"2H(Y/6[$Y.^DcbG1({HV"}],"hats":[],"bases":[],"i2cs":[],"blockly":"<block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"50\" y=\"50\"><mutation isBegin=\"true\"></mutation><field name=\"UPDATEOP\">true</field><statement name=\"FUNC\"><block type=\"system_m5_begin\" id=\"system_m5_begin\"><next><block type=\"unit_asr_init\" id=\"2H(Y/6[$Y.^DcbG1({HV\"><field name=\"NAME\">asr_0</field><value name=\"UART\"><shadow type=\"unit_asr_id_option\" id=\"VHXDfq_R!LV=6Rt7smUB\"><field name=\"VALUE\">2</field></shadow></value><next><block type=\"text_print\" id=\"MAkprDFcP)8C+ZSE+5+o\"><value name=\"TEXT\"><shadow type=\"text\" id=\"*9:/ve|MTjrM]k~2sXov\"><field name=\"TEXT\">hello M5</field></shadow><block type=\"unit_asr_search_command_num\" id=\"vmD1PWn.M=6+p`3L~e?b\"><field name=\"NAME\">asr_0</field><value name=\"VALUE\"><shadow type=\"text\" id=\"NryDWH9p,NZs2*i-F4A0\"><field name=\"TEXT\">hello</field></shadow></value></block></value><next><block type=\"text_print\" id=\"r`@.Ic^qtJ2rVGNmGGck\"><value name=\"TEXT\"><shadow type=\"text\" id=\"*9:/ve|MTjrM]k~2sXov\"><field name=\"TEXT\">hello M5</field></shadow><block type=\"unit_asr_search_command_word\" id=\"`6u,M{I8Vx8(?*P8(BO-\"><field name=\"NAME\">asr_0</field><value name=\"VALUE\"><shadow type=\"math_number\" id=\"K?#e0]wkml^|I{-BRq-!\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">0x32</field></shadow></value></block></value><next><block type=\"unit_asr_add_command_word\" id=\"})a6y0OFLy/E:iV)xWh=\"><mutation wordValue=\"hello\"></mutation><field name=\"NAME\">asr_0</field><field name=\"WORD\">hello</field><value name=\"NUM\"><shadow type=\"math_number\" id=\"W/-=n%i1t-an0@F(nK5Y\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">0x32</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block><block type=\"basic_on_loop\" id=\"loop_block\" deletable=\"false\" x=\"50\" y=\"310\"><mutation isUpdate=\"true\"></mutation><field name=\"UPDATEOP\">true</field><statement name=\"FUNC\"><block type=\"system_m5_update\" id=\"system_m5_update\"><next><block type=\"controls_if\" id=\"42hyED.UX0ra^2hIawfV\"><value name=\"IF0\"><block type=\"unit_asr_get_received_status\" id=\"^tl7o2;s01Pnkg9B}8PR\"><field name=\"NAME\">asr_0</field></block></value><statement name=\"DO0\"><block type=\"label_set_text\" id=\"+j5TmnvhX*Qn1*;Hy$]y\"><field name=\"NAME\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"5:n4~i:8iNIE5WH6q~sm\" disabled=\"true\"><field name=\"TEXT\">Label</field></shadow><block type=\"text_add_str\" id=\"Si:^Fw.flP65;;=Z%+Lj\"><value name=\"VALUE1\"><shadow type=\"text\" id=\"A-C5FNQJ%[FW?:/KxX(Q\"><field name=\"TEXT\">msg:</field></shadow></value><value name=\"VALUE2\"><block type=\"unit_asr_get_current_raw_message\" id=\"m9vZyFLx=.ucD9L:0pe0\"><field name=\"NAME\">asr_0</field></block></value></block></value><next><block type=\"label_set_text\" id=\"t2g_.)rt?Bw-OdtC9V%[\"><field name=\"NAME\">label1</field><value name=\"TEXT\"><shadow type=\"text\" id=\"5:n4~i:8iNIE5WH6q~sm\"><field name=\"TEXT\">Label</field></shadow><block type=\"text_add_str\" id=\"^UYvPnn%TT:T0sgdp]Yr\"><value name=\"VALUE1\"><shadow type=\"text\" id=\"h}|3[X*`2s7.J^3J`-g4\"><field name=\"TEXT\">rec cmd num:</field></shadow></value><value name=\"VALUE2\"><block type=\"unit_asr_get_current_command_num\" id=\"wLnH=u[VK@*LM}V_GD~X\"><field name=\"NAME\">asr_0</field></block></value></block></value><next><block type=\"label_set_text\" id=\"eIvB}F.Br4gFMgfBkzru\"><field name=\"NAME\">label2</field><value name=\"TEXT\"><shadow type=\"text\" id=\"f,b}wonBAU#J!7P8q|rv\"><field name=\"TEXT\">Label</field></shadow><block type=\"text_add_str\" id=\"koY5r8`xXbQYrx~ZM1LH\"><value name=\"VALUE1\"><shadow type=\"text\" id=\"*9-nV#y37,%DB*t%N]38\"><field name=\"TEXT\">rec cmd word:</field></shadow></value><value name=\"VALUE2\"><block type=\"unit_asr_get_current_command_word\" id=\"!S#!nt9)N;6q9;l`ipL:\"><field name=\"NAME\">asr_0</field></block></value></block></value><next><block type=\"label_set_text\" id=\"Hf1j|d!=9~Mn![0hGSJp\"><field name=\"NAME\">label3</field><value name=\"TEXT\"><shadow type=\"text\" id=\"w{ooZcY8:40ef0q/#pIJ\"><field name=\"TEXT\">Label</field></shadow><block type=\"text_add_str\" id=\"?1CWEq;n[IJlqGY5!D%C\"><value name=\"VALUE1\"><shadow type=\"text\" id=\"gk;f=mYO}4EI@0]:cL-:\"><field name=\"TEXT\">rec cmd handler state:</field></shadow></value><value name=\"VALUE2\"><block type=\"unit_asr_get_command_handler\" id=\"*!d2=[`y-IYis6F`b7G9\"><field name=\"NAME\">asr_0</field></block></value></block></value></block></next></block></next></block></next></block></statement></block></next></block></statement></block><block type=\"unit_asr_event\" id=\"+Ux*CDyrg@1S)vtrN4{X\" x=\"50\" y=\"650\"><field name=\"NAME\">asr_0</field><value name=\"WORD\"><shadow type=\"text\" id=\"tpbJ7sXM(Hgq5Y^RjdVZ\"><field name=\"TEXT\">hello</field></shadow></value><statement name=\"FUNC\"><block type=\"text_print\" id=\"*%%Q8puF.vW|z{2+Fbx`\"><value name=\"TEXT\"><shadow type=\"text\" id=\")Y%O0xWE=.d7:-wlCwj2\"><field name=\"TEXT\">Rec Hello</field></shadow></value></block></statement></block>","screen":[{"simulationName":"Built-in","type":"builtin","width":320,"height":240,"scale":0.78,"screenName":"","blockId":"","screenColorType":0,"id":"builtin","createTime":1738984206533}],"logicWhenNum":0,"customList":[]}
0 commit comments