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
9.4 KiB
Plaintext
1 line
9.4 KiB
Plaintext
{"components":[{"id":"____screen","createTime":1618969641979,"name":"screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#222222","backgroundImage":"","type":"screen"},{"id":"____buttonA","createTime":1618969641979,"name":"ButtonA","buttonIndex":0,"x":35,"y":216,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1618969641979,"name":"ButtonB","buttonIndex":1,"x":125,"y":216,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1618969641979,"name":"ButtonC","buttonIndex":2,"x":215,"y":216,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"},{"id":"3wW-+3j!PV5&b1Qs","createTime":1618972085318,"isCoreTwo":false,"isPaper":false,"name":"label0","x":200,"y":10,"color":"#ffffff","text":"Text","font":"lcd.FONT_DejaVu24","rotation":0,"type":"label","layer":4,"width":null,"height":null,"radius":null},{"id":"JF_xslI=cq&hqx^J","createTime":1618972086343,"isCoreTwo":false,"isPaper":false,"name":"label1","x":200,"y":45,"color":"#FFFFFF","text":"Text","font":"lcd.FONT_DejaVu24","rotation":0,"type":"label","layer":5,"width":null,"height":null,"radius":null},{"id":"MsS^y@#R`#q4h$i%","createTime":1618972085318,"isCoreTwo":false,"isPaper":false,"name":"label2","x":200,"y":80,"color":"#ffffff","text":"Text","font":"lcd.FONT_DejaVu24","rotation":0,"type":"label","layer":6,"width":null,"height":null,"radius":null},{"id":"4#o`0xD2GrKIYwLa","createTime":1618972085318,"isCoreTwo":false,"isPaper":false,"name":"label3","x":200,"y":115,"color":"#ffffff","text":"Text","font":"lcd.FONT_DejaVu24","rotation":0,"type":"label","layer":7,"width":null,"height":null,"radius":null},{"id":"xg6Vc$Yhr7ook%xP","createTime":1618972085318,"isCoreTwo":false,"isPaper":false,"name":"label4","x":200,"y":150,"color":"#ffffff","text":"Text","font":"lcd.FONT_DejaVu24","rotation":0,"type":"label","layer":8,"width":null,"height":null,"radius":null},{"id":"L5w`08rc!&-r@!Lp","createTime":1618972085318,"isCoreTwo":false,"isPaper":false,"name":"label5","x":200,"y":185,"color":"#ffffff","text":"Text","font":"lcd.FONT_DejaVu24","rotation":0,"type":"label","layer":9,"width":null,"height":null,"radius":null},{"id":"%biJJafzx@cJc^64","createTime":1618972085318,"isCoreTwo":false,"isPaper":false,"name":"label6","x":10,"y":10,"color":"#ffffff","text":"Face number :","font":"lcd.FONT_DejaVu24","rotation":0,"type":"label","layer":10,"width":null,"height":null,"radius":null},{"id":"xjjV!8*dbJZggbOe","createTime":1618972085318,"isCoreTwo":false,"isPaper":false,"name":"label7","x":10,"y":45,"color":"#ffffff","text":"Face1 value :","font":"lcd.FONT_DejaVu24","rotation":0,"type":"label","layer":11,"width":null,"height":null,"radius":null},{"id":"WaBVzk3S*5WVJfeV","createTime":1618972085318,"isCoreTwo":false,"isPaper":false,"name":"label8","x":10,"y":80,"color":"#ffffff","text":"Face1 X :","font":"lcd.FONT_DejaVu24","rotation":0,"type":"label","layer":12,"width":null,"height":null,"radius":null},{"id":"H9BIi3@8kRwwzz*$","createTime":1618972085318,"isCoreTwo":false,"isPaper":false,"name":"label9","x":10,"y":115,"color":"#ffffff","text":"Face1 Y :","font":"lcd.FONT_DejaVu24","rotation":0,"type":"label","layer":13,"width":null,"height":null,"radius":null},{"id":"lp2kwqAqu@+67@Tg","createTime":1618972085318,"isCoreTwo":false,"isPaper":false,"name":"label10","x":10,"y":150,"color":"#ffffff","text":"Face1 W :","font":"lcd.FONT_DejaVu24","rotation":0,"type":"label","layer":14,"width":null,"height":null,"radius":null},{"id":"%gFCme-H8*DV7KcN","createTime":1618972085318,"isCoreTwo":false,"isPaper":false,"name":"label11","x":10,"y":185,"color":"#ffffff","text":"Face1 H :","font":"lcd.FONT_DejaVu24","rotation":0,"type":"label","layer":15,"width":null,"height":null,"radius":null}],"type":"core","versions":"Beta","units":[{"id":"6jk2nanxK1YWP1Tn","createTime":1618970075581,"hidden":false,"type":"V","name":"V0","port":"B","default":["A","B","C","D","Custom"],"user_port":["21","22"],"icon":"unit_V.png","new_port":"B","new_default":["A","B","C","D","Custom"]}],"hats":[],"blockly":"<variables><variable id=\"rdeER0-K1?Z,1u_SwM|s\">data_detail</variable></variables><block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"-30\" y=\"250\"><next><block type=\"v_face_detect_init\" id=\"IUxdC(bXv=r2Ga0Vn+Y`\"><field name=\"NAME\">V0</field><next><block type=\"basic_on_loop\" id=\"zY}T8^~rgwPULA)1m+o/\"><statement name=\"LOOP\"><block type=\"label_set_text\" id=\"EbM+4c[,fR8eE;GOq`ae\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"kK~+f)%8H4[x]j=_3WI=\" disabled=\"true\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"v_get_face_number\" id=\"==zzYrnL{-*fK`,-zQs!\"></block></value><next><block type=\"variables_set\" id=\"4Iwlv$ZzN6b(aYV9UjJ$\"><field name=\"VAR\" id=\"rdeER0-K1?Z,1u_SwM|s\">data_detail</field><value name=\"VALUE\"><block type=\"v_get_face_detail\" id=\"ON]=$y0(qm0Hmkbk[!h6\"><value name=\"number\"><shadow type=\"math_number\" id=\"-u$Z?j,yla}Jwe@~J+u3\"><field name=\"NUM\">1</field></shadow></value></block></value><next><block type=\"label_set_text\" id=\"Isq[Fg,y=`t6[)^40A?}\"><field name=\"COMPONENT\">label1</field><value name=\"TEXT\"><shadow type=\"text\" id=\"l-e7p1H_.+^^H6HVp]AZ\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"text_add\" id=\"a6-18;0OwonWMa^3OkLx\"><value name=\"arg0\"><shadow type=\"text\" id=\"Do--p(Z;j[L]K%rC1St`\"><field name=\"TEXT\"></field></shadow><block type=\"text_math_split\" id=\"VazMsSz_ElTya:%oSd]H\"><value name=\"arg0\"><block type=\"math_arithmetic\" id=\"-#RDaK_(r?h8_{`#9Sj!\"><field name=\"OP\">MULTIPLY</field><value name=\"A\"><block type=\"lists_getIndex\" id=\"4W/=K~+7ql{ODl2iN0_C\"><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=\";Z|-69RY,FGued)6)R)V\"><field name=\"VAR\" id=\"rdeER0-K1?Z,1u_SwM|s\">data_detail</field></block></value><value name=\"AT\"><block type=\"math_number\" id=\"dsim7^MjzofZB=Ok[H?|\"><field name=\"NUM\">1</field></block></value></block></value><value name=\"B\"><block type=\"math_number\" id=\"TiL0`l~V?GcKo_~nCy-/\"><field name=\"NUM\">100</field></block></value></block></value><value name=\"arg1\"><shadow type=\"math_number\" id=\"6{PFw%bKR*9oXS1A2a/4\"><field name=\"NUM\">2</field></shadow></value></block></value><value name=\"arg1\"><block type=\"text\" id=\"T/[I36eoTekWOg8g7((H\"><field name=\"TEXT\">%</field></block></value></block></value><next><block type=\"label_set_text\" id=\"e+;oWa))9-hr]f7crqXr\"><field name=\"COMPONENT\">label2</field><value name=\"TEXT\"><shadow type=\"text\" id=\"RRnp=B_t3[xUwLiQJWS,\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"lists_getIndex\" id=\"Z2Ldo#m;?[hdiZ;lWlKn\"><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=\"qanQF7SGWs?FSs)g[~pc\"><field name=\"VAR\" id=\"rdeER0-K1?Z,1u_SwM|s\">data_detail</field></block></value><value name=\"AT\"><block type=\"math_number\" id=\",vHjaSR~{mtsHfvp[==:\"><field name=\"NUM\">2</field></block></value></block></value><next><block type=\"label_set_text\" id=\"dM|d(l_lNQmH#ec5I$Ab\"><field name=\"COMPONENT\">label3</field><value name=\"TEXT\"><shadow type=\"text\" id=\"fg~S;Dk]/Dra?1bKd5I-\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"lists_getIndex\" id=\"MZ*`@`!3(V/*Buf@jnj0\"><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@(b#FCp3xZ@V:)r13Q;\"><field name=\"VAR\" id=\"rdeER0-K1?Z,1u_SwM|s\">data_detail</field></block></value><value name=\"AT\"><block type=\"math_number\" id=\"1ges84Tud?]zb7$Ly76z\"><field name=\"NUM\">3</field></block></value></block></value><next><block type=\"label_set_text\" id=\"kyTQ`rxG?M~VR/c^;52W\"><field name=\"COMPONENT\">label4</field><value name=\"TEXT\"><shadow type=\"text\" id=\"F-oB4*S@Lv#0xAh$+vv=\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"lists_getIndex\" id=\"(=19F@F`@{04zxZ);J44\"><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=\"Ftg)^Srr5C6wo9)k`+h^\"><field name=\"VAR\" id=\"rdeER0-K1?Z,1u_SwM|s\">data_detail</field></block></value><value name=\"AT\"><block type=\"math_number\" id=\"G3o]~h)YOWV23CNw0x~*\"><field name=\"NUM\">4</field></block></value></block></value><next><block type=\"label_set_text\" id=\"y-JE;V)+jQ,N_;4orDu(\"><field name=\"COMPONENT\">label5</field><value name=\"TEXT\"><shadow type=\"text\" id=\"@RjJ1kV(jCV{RtU]B#!A\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"lists_getIndex\" id=\"ELuBU1cI`C,$]i~XE4dV\"><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=\"8c`fooJVELv*65{ubZG^\"><field name=\"VAR\" id=\"rdeER0-K1?Z,1u_SwM|s\">data_detail</field></block></value><value name=\"AT\"><block type=\"math_number\" id=\"XkMNrCpGbSec$brY,Wb8\"><field name=\"NUM\">5</field></block></value></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block>","Blockly.Remotes":[],"modules":[]} |