+{"version":"V2.0","versionNumber":"V2.1.2","type":"cores3","components":[{"name":"screen","type":"screen","layer":0,"screenId":"builtin","screenName":"","id":"__cores3_screen","createTime":1723607973362,"x":0,"y":0,"width":320,"height":240,"backgroundColor":"#222222","size":0,"isSelected":true},{"name":"label0","type":"label","layer":1,"screenId":"builtin","screenName":"","id":"bC@spH7Gx=eAKnTo","createTime":1723608011967,"x":73,"y":75,"color":"#ffffff","backgroundColor":"#222222","text":"label0","engine":"gfx","font":"Widgets.FONTS.DejaVu56","rotation":0,"isSelected":false,"width":172,"height":63},{"name":"label1","type":"label","layer":2,"screenId":"builtin","screenName":"","id":"oyh`2W#Znj$r_MTi","createTime":1723608011967,"x":135,"y":138,"color":"#ffffff","backgroundColor":"#222222","text":"label1","engine":"gfx","font":"Widgets.FONTS.DejaVu12","rotation":0,"isSelected":false,"width":39,"height":14},{"name":"label2","type":"label","layer":3,"screenId":"builtin","screenName":"","id":"b=paJgXv7OKv^K_S","createTime":1723608101584,"x":9,"y":9,"color":"#ffffff","backgroundColor":"#222222","text":"label2","engine":"gfx","font":"Widgets.FONTS.DejaVu18","rotation":0,"isSelected":false,"width":54,"height":20},{"name":"label3","type":"label","layer":4,"screenId":"builtin","screenName":"","id":"p$=9HijT-gGOob%r","createTime":1723608101584,"x":10,"y":31,"color":"#ffffff","backgroundColor":"#222222","text":"label3","engine":"gfx","font":"Widgets.FONTS.DejaVu18","rotation":0,"isSelected":false,"width":54,"height":20}],"resources":[{"hardware":["hardware_button","hardware_pin_button","imu","speaker","touch","als","mic","i2c"]},{"unit":["unit_scroll"]}],"units":[{"type":"unit_scroll","name":"scroll_0","portList":["A","PAHUB","Custom"],"portType":"A","userPort":[22,21],"id":"dR^H^xyh#S2r8-ac","createTime":1723607980933,"bus":"i2c0","pahubPortList":[0,1,2,3,4,5],"pahubPort":0,"initBlockId":"g0Fu+{?OP{U%zAG=Pt=B"}],"hats":[],"bases":[],"i2cs":[{"id":"i2c0","portType":"A","userPort":[22,21],"freq":"100000","blockId":"|SH=1+gR@=im3ZRQN+IF"}],"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=\"i2c_init\" id=\"|SH=1+gR@=im3ZRQN+IF\"><field name=\"NAME\">0</field><field name=\"FREQ\">100000</field><value name=\"SCL\"><shadow type=\"math_number\" id=\"jrE[eo#B~]URO%@;,@/G\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">1</field></shadow></value><value name=\"SDA\"><shadow type=\"math_number\" id=\"R+|!%FW.g*vF)Pd0bT/$\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">2</field></shadow></value><next><block type=\"unit_scroll_init\" id=\"g0Fu+{?OP{U%zAG=Pt=B\"><field name=\"NAME\">scroll_0</field><value name=\"ADDR\"><shadow type=\"unit_scroll_addr_option\" id=\"GE2y{yDR`9E-iO[sw|-u\"><field name=\"VALUE\">0x40</field></shadow></value><next><block type=\"label_set_text\" id=\"_Lud1]=28UY9gBru^$w=\"><field name=\"NAME\">label2</field><value name=\"TEXT\"><shadow type=\"text\" id=\"ei26%VcScryKV%DTT`IB\"><field name=\"TEXT\">Label</field></shadow><block type=\"text_add_str\" id=\"XkMXry-NSE}[AFkELXtt\"><value name=\"VALUE1\"><shadow type=\"text\" id=\"2ht|=+5nPxg7q-US`|+G\"><field name=\"TEXT\">bootloader ver: </field></shadow></value><value name=\"VALUE2\"><block type=\"unit_scroll_get_bootloader_version\" id=\"RK7[e$itN9{Y)t/Sm3Nu\"><field name=\"NAME\">scroll_0</field></block></value></block></value><next><block type=\"label_set_text\" id=\"sxu)/c~=I$p5K$W8R2.v\"><field name=\"NAME\">label3</field><value name=\"TEXT\"><shadow type=\"text\" id=\"[Tug(z`0-^y62i5uKt._\"><field name=\"TEXT\">Label</field></shadow><block type=\"text_add_str\" id=\"FO}gE[Z-z6z/c}AM8s%9\"><value name=\"VALUE1\"><shadow type=\"text\" id=\"vP-UI.MP{Mh:zT1IAWlv\"><field name=\"TEXT\">firmware ver: </field></shadow></value><value name=\"VALUE2\"><block type=\"unit_scroll_get_firmware_version\" id=\"=ewu42MpXir8Mo6Q^#4y\"><field name=\"NAME\">scroll_0</field></block></value></block></value><next><block type=\"unit_scroll_set_value\" id=\"vEn(,6(pK``7zds@?L(`\"><field name=\"NAME\">scroll_0</field><value name=\"VALUE\"><shadow type=\"math_number\" id=\"K3=WFN2Rge}8Gx//Nk~a\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">100</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type=\"basic_on_loop\" id=\"loop_block\" deletable=\"false\" x=\"50\" y=\"450\"><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=\"EAo}V],SZ1x:n)1ON?dA\"><value name=\"IF0\"><block type=\"unit_scroll_get_rotary_status\" id=\"4bA`~#QM_fM!YWp_(bJ@\"><field name=\"NAME\">scroll_0</field></block></value><statement name=\"DO0\"><block type=\"label_set_text\" id=\"+TT:(]Qr~-s?QzolqXri\"><field name=\"NAME\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"#_Z2iyr_(Ncf$M7zL.8C\"><field name=\"TEXT\">Label</field></shadow><block type=\"unit_scroll_get_rotary_value\" id=\"gRxF=GzEA4#zPqdO2dO5\"><field name=\"NAME\">scroll_0</field></block></value><next><block type=\"label_set_text\" id=\"qHyKi{NP7ZI,uvgmS#C,\"><field name=\"NAME\">label1</field><value name=\"TEXT\"><shadow type=\"text\" id=\"#_Z2iyr_(Ncf$M7zL.8C\"><field name=\"TEXT\">Label</field></shadow><block type=\"unit_scroll_get_increments\" id=\":2MrT-fII395m={^roP4\"><field name=\"NAME\">scroll_0</field></block></value></block></next></block></statement><next><block type=\"controls_ifelse\" id=\"ls,5h1`t?ot~Tpg9x4h[\"><value name=\"IF0\"><block type=\"unit_scroll_get_button_status\" id=\"*yLQkVQ+mv6ZYprvp$%?\"><field name=\"NAME\">scroll_0</field></block></value><statement name=\"DO0\"><block type=\"unit_scroll_reset_value\" id=\"Ti,nRkv==-L%[!u*S!km\"><field name=\"NAME\">scroll_0</field><next><block type=\"unit_scroll_fill_color\" id=\"Q9.VBZqEMg]b/NFMiX_-\"><field name=\"NAME\">scroll_0</field><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"E*^_^w}^U%ex{ChN{AA4\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#33cc00</field></block></value></block></next></block></statement><statement name=\"ELSE\"><block type=\"unit_scroll_fill_color\" id=\"(:5*GiJw1:+Zu?Qs;+Y8\"><field name=\"NAME\">scroll_0</field><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"qsP$nsxsN%{+kLi:0B7-\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#ff0000</field></block></value></block></statement></block></next></block></next></block></statement></block>","screen":[{"simulationName":"Built-in","type":"builtin","width":320,"height":240,"scale":0.78,"screenName":"","blockId":"","screenColorType":0,"id":"builtin","createTime":1723607973361}],"logicWhenNum":0,"customList":[]}
0 commit comments