You've already forked uiflow-micropython
mirror of
https://github.com/m5stack/uiflow-micropython.git
synced 2026-05-20 10:39:27 -07:00
ce55526252
Signed-off-by: lbuque <1102390310@qq.com>
1 line
3.3 KiB
Plaintext
1 line
3.3 KiB
Plaintext
{"version":"V2.0","versionNumber":"V2.0.9","type":"cores3","components":[{"name":"screen","type":"screen","layer":0,"screenId":"builtin","screenName":"","id":"__cores3_screen","createTime":1721098782727,"x":0,"y":0,"width":320,"height":240,"backgroundColor":"#222222","size":0,"isSelected":true},{"name":"label0","type":"label","layer":1,"screenId":"builtin","screenName":"","id":"q2#`6&QeQRF`fKYO","createTime":1721098891731,"x":132,"y":109,"color":"#ffffff","backgroundColor":"#222222","text":"label0","engine":"gfx","font":"Widgets.FONTS.DejaVu18","rotation":0,"isSelected":false}],"resources":[{"hardware":["hardware_button","hardware_pin_button","imu","speaker","touch","als","mic","i2c"]},{"unit":["unit_extencoder"]}],"units":[{"type":"unit_extencoder","name":"extencoder_0","portList":["A","PAHUB","Custom"],"portType":"A","userPort":[22,21],"id":"g&lN-KqWLquw7xM#","createTime":1721098788043,"bus":"i2c0","pahubPortList":[0,1,2,3,4,5],"pahubPort":0,"initBlockId":"vvYDboMufZ5qFMb,69=d"}],"hats":[],"bases":[],"i2cs":[{"id":"i2c0","portType":"A","userPort":[22,21],"freq":"100000","blockId":"qL1Q*ns$Mh@#yP_U1GDc"}],"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=\"qL1Q*ns$Mh@#yP_U1GDc\"><field name=\"NAME\">0</field><field name=\"FREQ\">100000</field><value name=\"SCL\"><shadow type=\"math_number\" id=\"Cluj`Ps}@eZQ@LpBl^i9\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">1</field></shadow></value><value name=\"SDA\"><shadow type=\"math_number\" id=\"!+^a|kH6:0*QQuZ?[jm6\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">2</field></shadow></value><next><block type=\"unit_extencoder_init\" id=\"vvYDboMufZ5qFMb,69=d\"><field name=\"NAME\">extencoder_0</field><value name=\"ADDR\"><shadow type=\"math_number\" id=\"F-uY-`6|+::xbu:87=-H\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">0x59</field></shadow></value></block></next></block></next></block></statement></block><block type=\"basic_on_loop\" id=\"loop_block\" deletable=\"false\" x=\"50\" y=\"290\"><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=\"Hz}e*KUD0%;K%h-Oo,:*\"><value name=\"IF0\"><block type=\"unit_extencoder_get_rotary_status\" id=\")E{=*,ZG8y8rqQj%IG6a\"><field name=\"NAME\">extencoder_0</field></block></value><statement name=\"DO0\"><block type=\"label_set_text\" id=\"S4WM=E@s_OG[miibQRr-\"><field name=\"NAME\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"}@|m]buP~6svfBlMaC4i\"><field name=\"TEXT\">Label</field></shadow><block type=\"unit_extencoder_get_rotary_value\" id=\"8;aoy1`7il4/:.1_m%/m\"><field name=\"NAME\">extencoder_0</field></block></value></block></statement></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":1721098782722}],"logicWhenNum":0,"customList":[]} |