You've already forked uiflow-micropython
mirror of
https://github.com/m5stack/uiflow-micropython.git
synced 2026-05-20 10:39:27 -07:00
b3e4371492
Signed-off-by: Tinyu <tinyu@Tinyus-Mac-mini.local>
1 line
3.2 KiB
Plaintext
1 line
3.2 KiB
Plaintext
{"version":"V2.0","versionNumber":"V2.1.8","type":"core2","components":[{"name":"screen","type":"screen","layer":0,"screenId":"builtin","screenName":"","id":"__core2_screen","createTime":1732842376850,"x":0,"y":0,"width":320,"height":240,"backgroundColor":"#222222","size":0,"isSelected":true},{"name":"title0","type":"title","layer":1,"screenId":"builtin","screenName":"","id":"tc477*0fAHG8&Cy6","createTime":1732849027373,"x":0,"y":0,"color":"#ffffff","backgroundColor":"#0000FF","text":"ButtonUnit Core2 Example","textOffset":3,"font":"Widgets.FONTS.DejaVu18","isSelected":false},{"name":"label0","type":"label","layer":2,"screenId":"builtin","screenName":"","id":"oPY4n`ZjTAFPnUPJ","createTime":1732849110824,"x":1,"y":102,"color":"#ffffff","backgroundColor":"#222222","text":"Button Counter Value:","engine":"gfx","font":"Widgets.FONTS.DejaVu18","rotation":0,"isSelected":false,"width":198,"height":20},{"name":"label1","type":"label","layer":1,"screenId":"builtin","screenName":"","id":"pkoboEnXPsi8v0AZ","createTime":1733102301226,"x":395,"y":150,"color":"#ffffff","backgroundColor":"#222222","text":"Button State:","engine":"gfx","font":"Widgets.FONTS.DejaVu18","rotation":0,"isSelected":false,"width":119,"height":20}],"resources":[{"hardware":["hardware_button","hardware_pin_button","imu","speaker","touch","mic","i2c"]},{"unit":["unit_button"]}],"units":[{"type":"unit_button","name":"button_0","portList":["A","B","C","Custom"],"portType":"A","userPort":[22,21],"id":"xf*3C`w-An$rFIw=","createTime":1733102065676,"initBlockId":"l,5rpx~lsh4e$/E!+Q?D"}],"hats":[],"bases":[],"i2cs":[{"id":"i2c0","portType":"A","userPort":[22,21],"freq":"100000","blockId":"6[Jd@e$b.G#XLaMkwU)B"}],"blockly":"<block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"-150\" y=\"-409\"><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_button_init\" id=\"l,5rpx~lsh4e$/E!+Q?D\"><field name=\"NAME\">button_0</field><field name=\"LOW\">True</field><field name=\"TYPE\">2</field></block></next></block></statement></block><block type=\"basic_on_loop\" id=\"loop_block\" deletable=\"false\" x=\"-150\" y=\"-190\"><mutation isUpdate=\"true\"></mutation><field name=\"UPDATEOP\">true</field><statement name=\"FUNC\"><block type=\"system_m5_update\" id=\"system_m5_update\"><next><block type=\"label_set_text\" id=\"#zX[!,aKp)hGixx5x]1x\"><field name=\"NAME\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"Dy|D1=WvcPhN2m[eStM;\"><field name=\"TEXT\">Label</field></shadow><block type=\"text_add_str\" id=\"%Q]BVj,pUnZrij5Fudl*\"><value name=\"VALUE1\"><shadow type=\"text\" id=\"GD[,~3YG*J[w@{u?cTYp\"><field name=\"TEXT\">Button Counter Value:</field></shadow></value><value name=\"VALUE2\"><block type=\"unit_button_get_counter_value\" id=\"*exj$`(DHT|u5://MGF4\"><field name=\"NAME\">button_0</field></block></value></block></value></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":1732842376846}],"logicWhenNum":0,"customList":[]} |