You've already forked M5-ProductExampleCodes
mirror of
https://github.com/m5stack/M5-ProductExampleCodes.git
synced 2026-05-20 10:24:10 -07:00
1 line
3.1 KiB
Plaintext
1 line
3.1 KiB
Plaintext
{"components":[{"id":"____screen","createTime":1550807199199,"name":"Screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#111111","backgroundImage":"","type":"screen"},{"id":"____buttonA","createTime":1550807199199,"name":"ButtonA","buttonIndex":0,"x":35,"y":216,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1550807199199,"name":"ButtonB","buttonIndex":1,"x":125,"y":216,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1550807199199,"name":"ButtonC","buttonIndex":2,"x":215,"y":216,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"},{"id":"*iueRgDvK$pz-vSo","createTime":1550807326531,"name":"label0","x":-7,"y":-11,"color":"#FFFFFF","text":"STEPMOTOR Example","font":"lcd.FONT_DejaVu24","type":"label","layer":1}],"units":[],"blockly":"<block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"670\" y=\"170\"><next><block type=\"motor_instance\" id=\"[^@!hQ]*ck{^6A43(W.o\"><field name=\"X_VAR_MOTOR\">stepmotor1</field><field name=\"ADDRESS\">0x70</field><next><block type=\"motor_set_mode\" id=\"MM{BSE^Dw/um`Pe!o_FT\"><field name=\"X_VAR_MOTOR\">stepmotor1</field><field name=\"TEXT\">distance</field><next><block type=\"basic_on_loop\" id=\"Uuek1$l}Vt!EnN6atF_u\"><statement name=\"LOOP\"><block type=\"motor_move_xyz\" id=\"z-{EKu$ip71CmJB|~E[u\"><field name=\"X_VAR_MOTOR\">stepmotor1</field><value name=\"X\"><shadow type=\"math_number\" id=\"w|FIIsl6u@)mZh@T9+k_\"><field name=\"NUM\">-10</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"}G8y6[yc}D=+agU~buc6\"><field name=\"NUM\">-10</field></shadow></value><value name=\"Z\"><shadow type=\"math_number\" id=\"*HrBe;;V_%=nqQv/BuV/\"><field name=\"NUM\">-10</field></shadow></value><value name=\"SPEED\"><shadow type=\"math_number\" id=\"i-iuBJ7A#})B.j=5r]pu\"><field name=\"NUM\">300</field></shadow></value><next><block type=\"timer_delay\" id=\"V;ps;=pnx^!%P?DcP@Z-\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"-u!%Dd%}!Wt;DU7eJcdC\"><field name=\"NUM\">2</field></shadow></value><next><block type=\"motor_move_xyz\" id=\"upxu:gQOv{nu6(N;:faC\"><field name=\"X_VAR_MOTOR\">stepmotor1</field><value name=\"X\"><shadow type=\"math_number\" id=\"2NcORCwr~1HmsQY++[xv\"><field name=\"NUM\">10</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"Xq-3IwwnXR~E{a?=i3e#\"><field name=\"NUM\">10</field></shadow></value><value name=\"Z\"><shadow type=\"math_number\" id=\"%2%ea3sf65Sw-WZ!j/xk\"><field name=\"NUM\">10</field></shadow></value><value name=\"SPEED\"><shadow type=\"math_number\" id=\"YMAok@!Kbg.q|x2[[:5.\"><field name=\"NUM\">300</field></shadow></value><next><block type=\"timer_delay\" id=\"+Z:w|og=Yl}8?M_mlE!Q\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"Dv2b=%CnEjiaS7ND~td{\"><field name=\"NUM\">2</field></shadow></value></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block>","Blockly.ButtonEvents":[],"Blockly.Remotes":[],"modules":[]} |