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
7.4 KiB
Plaintext
1 line
7.4 KiB
Plaintext
{"components":[{"id":"____screen","createTime":1618902399174,"name":"screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#222222","backgroundImage":"","type":"screen"},{"id":"____buttonA","createTime":1618902399174,"name":"ButtonA","buttonIndex":0,"x":35,"y":216,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1618902399174,"name":"ButtonB","buttonIndex":1,"x":125,"y":216,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1618902399174,"name":"ButtonC","buttonIndex":2,"x":215,"y":216,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"},{"id":"RzoZ!cj3`*&wnOD5","createTime":1619055807179,"isCoreInk":false,"isPaper":false,"name":"title0","x":0,"y":0,"width":320,"height":20,"color":"#FFFFFF","backgroundColor":"#0000FF","text":"Title","textOffset":3,"font":"lcd.FONT_Default","type":"title","layer":13,"radius":null},{"id":"WZQ^IefftfYJW#kj","createTime":1619055900618,"name":"rectangle0","x":129,"y":111,"width":30,"height":30,"borderColor":"#FFFFFF","backgroundColor":"#FFFFFF","type":"rectangle","layer":14,"radius":null}],"type":"core","versions":"Beta","units":[{"id":"d$y^#kqGV==e$Rwy","createTime":1619055754363,"hidden":false,"type":"V","name":"V0","port":"C","default":["A","B","C","D","Custom"],"user_port":["21","22"],"icon":"unit_V.png","new_port":"C","new_default":["A","B","C","D","Custom"]}],"hats":[],"blockly":"<variables><variable id=\"}tTGcv_pnYXZ.w]|c1{D\">box_detail</variable></variables><block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"-30\" y=\"-190\"><next><block type=\"v_target_track_init\" id=\"P{.HJVf?I/+c%LZqpQD8\"><field name=\"NAME\">V0</field><next><block type=\"basic_on_loop\" id=\"J^[2P}jERde5i.wXM_fr\"><statement name=\"LOOP\"><block type=\"variables_set\" id=\"A!CheG#k8QAC2JoTAa$7\"><field name=\"VAR\" id=\"}tTGcv_pnYXZ.w]|c1{D\">box_detail</field><value name=\"VALUE\"><block type=\"v_get_target_track_box_detail\" id=\"jLEgN$wrY4z-oaQw(2Cd\"></block></value><next><block type=\"title_set_text\" id=\"H]RpPedjcZ/fCQu7jj^6\"><field name=\"COMPONENT\">title0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"8t(n4Z2JU#QXObwJ]Q9E\"><field name=\"TEXT\">Title</field></shadow><block type=\"text_add\" id=\"3,`y`HSgcU57wmC?^b:$\"><value name=\"arg0\"><shadow type=\"text\" id=\"Cw,^R.)_3@,UNbRW+Z-B\"><field name=\"TEXT\">X :</field></shadow></value><value name=\"arg1\"><block type=\"text_add\" id=\"AmU`hF{k1e=(xbVe6KCf\"><value name=\"arg0\"><shadow type=\"text\" id=\"D$HheidS`-j3/as-1OJ_\"><field name=\"TEXT\"></field></shadow><block type=\"lists_getIndex\" id=\"37S+*.2jQ~}E+5Qt;KLe\"><mutation statement=\"false\" at=\"true\"></mutation><field name=\"MODE\">GET</field><field name=\"WHERE\">FROM_START</field><value name=\"VALUE\"><block type=\"variables_get\" id=\"MJJ5ef5zwI3GT=1mh@s@\"><field name=\"VAR\" id=\"}tTGcv_pnYXZ.w]|c1{D\">box_detail</field></block></value><value name=\"AT\"><block type=\"math_number\" id=\")RAfL6=/=E/3(MMjEpw`\"><field name=\"NUM\">1</field></block></value></block></value><value name=\"arg1\"><block type=\"text_add\" id=\"4jt^~teN%FY5FgAyj]tm\"><value name=\"arg0\"><shadow type=\"text\" id=\"f)6P7g.?~XX)`?IlkAEo\"><field name=\"TEXT\">Y :</field></shadow></value><value name=\"arg1\"><block type=\"lists_getIndex\" id=\"7JapH8e.Lu.M-eGHVkLs\"><mutation statement=\"false\" at=\"true\"></mutation><field name=\"MODE\">GET</field><field name=\"WHERE\">FROM_START</field><value name=\"VALUE\"><block type=\"variables_get\" id=\"8EAJ5Fgrtp|e/LSYNfJ7\"><field name=\"VAR\" id=\"}tTGcv_pnYXZ.w]|c1{D\">box_detail</field></block></value><value name=\"AT\"><block type=\"math_number\" id=\"c:L6:CqxHA}Cy%xOCtrv\"><field name=\"NUM\">3</field></block></value></block></value></block></value></block></value></block></value><next><block type=\"title_set_bgcolor\" id=\"h1q3#FdbO4:sOC]j_,Ov\"><field name=\"COMPONENT\">title0</field><field name=\"COLOR\">#3333ff</field><next><block type=\"rect_set_position\" id=\"2q|]/$1JfpW(.zWmrE/K\"><field name=\"COMPONENT\">rectangle0</field><value name=\"X\"><shadow type=\"math_number\" id=\"aJZ[Ps6~P6V{Y:g)v-Vu\"><field name=\"NUM\">0</field></shadow><block type=\"lists_getIndex\" id=\"=GnJ-Ya]$NhjL[pqq:j/\"><mutation statement=\"false\" at=\"true\"></mutation><field name=\"MODE\">GET</field><field name=\"WHERE\">FROM_START</field><value name=\"VALUE\"><block type=\"variables_get\" id=\"D+9-Q5g-KenSm#YY^wzW\"><field name=\"VAR\" id=\"}tTGcv_pnYXZ.w]|c1{D\">box_detail</field></block></value><value name=\"AT\"><block type=\"math_number\" id=\"pv_N@XWULXt]]$$oKf1M\"><field name=\"NUM\">1</field></block></value></block></value><value name=\"Y\"><shadow type=\"math_number\" id=\".pYNwW`noUVNp:[x:hz^\"><field name=\"NUM\">0</field></shadow><block type=\"lists_getIndex\" id=\"g+Iy1N-O;Y2Upvu:$n8Y\"><mutation statement=\"false\" at=\"true\"></mutation><field name=\"MODE\">GET</field><field name=\"WHERE\">FROM_START</field><value name=\"VALUE\"><block type=\"variables_get\" id=\"d4iBbrt!r@U.Pt.Tx=x~\"><field name=\"VAR\" id=\"}tTGcv_pnYXZ.w]|c1{D\">box_detail</field></block></value><value name=\"AT\"><block type=\"math_number\" id=\"N+ySk2o`k85_K(:77~r#\"><field name=\"NUM\">2</field></block></value></block></value><next><block type=\"rect_set_size\" id=\"QCD^2s,Jxw^6Yzc-x?=b\"><field name=\"COMPONENT\">rectangle0</field><value name=\"WIDTH\"><shadow type=\"math_number\" id=\"K.6gilUo|~h0@vkh+g#~\"><field name=\"NUM\">30</field></shadow><block type=\"lists_getIndex\" id=\"E41HSx0:r$Aur~H[#NMa\"><mutation statement=\"false\" at=\"true\"></mutation><field name=\"MODE\">GET</field><field name=\"WHERE\">FROM_START</field><value name=\"VALUE\"><block type=\"variables_get\" id=\"xmkr4[*+/)O3]?(Ww+`~\"><field name=\"VAR\" id=\"}tTGcv_pnYXZ.w]|c1{D\">box_detail</field></block></value><value name=\"AT\"><block type=\"math_number\" id=\",ejjGT40QDT!|bb|9KHW\"><field name=\"NUM\">3</field></block></value></block></value><value name=\"HEIGHT\"><shadow type=\"math_number\" id=\"pbxk^gM@WFOUKgw~J[4q\"><field name=\"NUM\">30</field></shadow><block type=\"lists_getIndex\" id=\"7^RNd]or~0B[8bLPUWHh\"><mutation statement=\"false\" at=\"true\"></mutation><field name=\"MODE\">GET</field><field name=\"WHERE\">FROM_START</field><value name=\"VALUE\"><block type=\"variables_get\" id=\"q,9Qx|G5EFr}5ZbFss0r\"><field name=\"VAR\" id=\"}tTGcv_pnYXZ.w]|c1{D\">box_detail</field></block></value><value name=\"AT\"><block type=\"math_number\" id=\"kQl5?yZd4~IV*PVqRKc;\"><field name=\"NUM\">4</field></block></value></block></value></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block><block type=\"button_callback\" id=\"-7gUKo@{C^RECS$sV[S+\" x=\"-30\" y=\"210\"><field name=\"BUTTON\">A</field><field name=\"EVENT\">wasPressed</field><statement name=\"FUNC\"><block type=\"v_set_track_coordinate\" id=\"Xu^PI%e%W]Cd=Ddx1nbS\"><value name=\"X\"><shadow type=\"math_number\" id=\"9RJXk2wU2/b.VfpGubw_\"><field name=\"NUM\">145</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"Xl~qxGv%:4,rO?Avfjv1\"><field name=\"NUM\">105</field></shadow></value><value name=\"width\"><shadow type=\"math_number\" id=\"*+2*CCmklUddz=jT;df[\"><field name=\"NUM\">30</field></shadow></value><value name=\"height\"><shadow type=\"math_number\" id=\"DMH*NwIr4a,;:sTdpG3$\"><field name=\"NUM\">30</field></shadow></value></block></statement></block>","Blockly.Remotes":[],"modules":["machine"]} |