You've already forked uiflow-micropython
mirror of
https://github.com/m5stack/uiflow-micropython.git
synced 2026-05-20 10:39:27 -07:00
1 line
6.6 KiB
Plaintext
1 line
6.6 KiB
Plaintext
|
|
{"version":"V2.0","versionNumber":"V2.4.4","type":"stack-chan","components":[{"name":"page0","type":"lvgl_page","layer":0,"screenId":"builtin","screenName":"","id":"m5t7o7SFR4vmx`#O","createTime":1776329679087,"backgroundColor":"#000000","isLVGL":true,"isSelected":true},{"name":"label_title","type":"lvgl_label","layer":2,"screenId":"builtin","screenName":"","id":"z`6fHQV93n^+iONk","createTime":1776331872818,"x":34,"y":10,"color":"#0dc9f4","backgroundColor":"#000000","bg_opacity":0,"text":"Servo Read Example","font":"lv.font_montserrat_24","pageId":"m5t7o7SFR4vmx`#O","isLVGL":true,"isSelected":false},{"name":"label_agnle_x","type":"lvgl_label","layer":2,"screenId":"builtin","screenName":"","id":"jy8JEP@PJfZGxvf2","createTime":1776331872818,"x":10,"y":80,"color":"#0dc9f4","backgroundColor":"#000000","bg_opacity":0,"text":"X-Axis Servo Angle:","font":"lv.font_montserrat_24","pageId":"m5t7o7SFR4vmx`#O","isLVGL":true,"isSelected":false},{"name":"label_angle_y","type":"lvgl_label","layer":3,"screenId":"builtin","screenName":"","id":"rtpaIg9MRo2PMYZv","createTime":1776331872818,"x":10,"y":125,"color":"#0dc9f4","backgroundColor":"#000000","bg_opacity":0,"text":"Y-Axis Servo Angle:","font":"lv.font_montserrat_24","pageId":"m5t7o7SFR4vmx`#O","isLVGL":true,"isSelected":false}],"resources":[{"hardware":["hardware_button","hardware_pin_button","imu","rgb","speaker","touch","als","ir","mic","touchpad","hardware_servo","sdcard"]}],"units":[],"hats":[],"caps":[],"chains":[],"bases":[],"plcmodules":[],"i2cs":[],"chainBus":[],"blockly":"<variables><variable id=\"9nNCw-{!#H)1OIG!b(OA\">last_time</variable><variable id=\"OIlQiFBwJeW,orCmqzRl\">x_angle</variable><variable id=\"89Mt1=l^Xm$_;O}g5nDg\">y_angle</variable></variables><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=\"uLf~%j`#UgIpq%=!9m,l\"><next><block type=\"system_stackchan_init\" id=\"Qr]444[pU9X=]oY9zz%2\"><field name=\"I2C\">1</field><field name=\"UART\">1</field><next><block type=\"lvgl_page_screen_load\" id=\"j[Z745/S;bz$(x)U}wQ3\"><field name=\"NAME\">page0</field><next><block type=\"hardware_servo_set_servo_power\" id=\":~]:@fY7}Nr~$LE@PRY`\"><value name=\"VALUE\"><shadow type=\"hardware_servo_power_option\" id=\"20P?(}9/.w{N@sEJgW=B\"><field name=\"VALUE\">True</field></shadow></value><next><block type=\"hardware_servo_set_servo_torque\" id=\"{qg4yaQL+iBMb2Xt3Yn$\"><field name=\"ID\">SERVO_ID_X</field><value name=\"VALUE\"><shadow type=\"hardware_servo_power_option\" id=\"[bGZ;Bk}!*SOFy!j}UBW\"><field name=\"VALUE\">False</field></shadow></value><next><block type=\"hardware_servo_set_servo_torque\" id=\"mRH3t_LdX(EDc#;so(S:\"><field name=\"ID\">SERVO_ID_Y</field><value name=\"VALUE\"><shadow type=\"hardware_servo_power_option\" id=\"d#]}k{1^=+e8k}`B#)$Z\"><field name=\"VALUE\">False</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=\"370\"><mutation isUpdate=\"true\"></mutation><field name=\"UPDATEOP\">true</field><statement name=\"FUNC\"><block type=\"system_m5_update\" id=\"y^^TUf+I.!w*V(3PhI`]\"><next><block type=\"controls_if\" id=\"Lv%Fp9bGY:JFD2J^h0uI\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"^I-nMrHM=ejcM~=~M`Us\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"time_get_ticks_diff\" id=\"Snst`2~wj=$5Im~OQ/Er\"><value name=\"TICKS1\"><shadow type=\"math_number\" id=\"#OkwBPJ0`NyHJWvp2;k4\" disabled=\"true\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">1</field></shadow><block type=\"time_get_ticks_ms\" id=\"),.nOE!+(d^z)eASI?_d\"></block></value><value name=\"TICKS2\"><shadow type=\"math_number\" id=\"E9vOOc+q[Q,/vmrcH!rL\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">1</field></shadow><block type=\"variables_get\" id=
|