-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathorder.m5f
1 lines (1 loc) · 10.2 KB
/
order.m5f
1
{"components":[{"id":"_stickplusscreen","createTime":1627744431139,"name":"screen","x":0,"y":0,"width":160,"height":284,"backgroundColor":"#111111","backgroundImage":"","type":"screen"}],"type":"stick-C-plus","versions":"Beta","units":[],"hats":[],"blockly":"<variables><variable id=\"jqXPDQH8rCokteOehs!T\">selected</variable><variable id=\"lE=7U[[Q5}NZ^;q%_rKA\">ii</variable><variable id=\",-Up:+9[K7ZX;A]};;Q~\">list</variable><variable id=\"]oCP[V)A22aeM1i3:6Pu\">i</variable></variables><block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"-430\" y=\"-110\"><next><block type=\"mqtt_set_client\" id=\":gnccjU(4/-P{7lOSJCw\"><value name=\"ID\"><shadow type=\"text\" id=\"@IY3*Z!CDURvKV7KwY1o\"><field name=\"TEXT\">menu</field></shadow></value><value name=\"SERVER\"><shadow type=\"text\" id=\"lRa^2jryI-^h3#0$-Ezq\"><field name=\"TEXT\">cloud.tbz.ch</field></shadow></value><value name=\"PORT\"><shadow type=\"math_number\" id=\"bpGlM:gRNL=eg[ZG|0l_\"><field name=\"NUM\">1883</field></shadow></value><value name=\"USER\"><shadow type=\"text\" id=\"!{~KS^$g]V;u~d}~+:FC\"><field name=\"TEXT\">menu</field></shadow></value><value name=\"PASSWORD\"><shadow type=\"text\" id=\"X^D3!Ja+Zg%f:]2fyue~\"><field name=\"TEXT\">test</field></shadow></value><value name=\"KEEPALIVE\"><shadow type=\"math_slider\" id=\"GQx2oH)0eQLhFG@c${H-\"><field name=\"NUM\" max=\"65536\" step=\"1\">300</field></shadow></value><next><block type=\"mqtt_start\" id=\"yQbl58:Kgn3|nG)W!v}(\"><next><block type=\"variables_set\" id=\"Vg]c4a1InmCM+:}RiL%,\"><field name=\"VAR\" id=\",-Up:+9[K7ZX;A]};;Q~\">list</field><value name=\"VALUE\"><block type=\"lists_create_with\" id=\"gLb|P)d|/l)ne,9s,W-]\"><mutation items=\"6\"></mutation><value name=\"ADD0\"><block type=\"text\" id=\"ACUri91v]s8~)pa)wR2V\"><field name=\"TEXT\">Menu 1</field></block></value><value name=\"ADD1\"><block type=\"text\" id=\"PFbau_sDb_{r.z7Y#5g%\"><field name=\"TEXT\">Menu 2</field></block></value><value name=\"ADD2\"><block type=\"text\" id=\"3Qadq`c9WWSy9q35Voq~\"><field name=\"TEXT\">Menu 3</field></block></value><value name=\"ADD3\"><block type=\"text\" id=\"Xzr}n@2o!dx:7fI0F:fF\"><field name=\"TEXT\">Schnippo</field></block></value><value name=\"ADD4\"><block type=\"text\" id=\"=@rzr}0,:@*#5Pfv^Fs:\"><field name=\"TEXT\">Rindfilet</field></block></value><value name=\"ADD5\"><block type=\"text\" id=\"e2SYVA$;^8CXlA_c!Lz!\"><field name=\"TEXT\">Fisch</field></block></value></block></value><next><block type=\"variables_set\" id=\"0IB4$V6X=e=F(-UYd9J$\"><field name=\"VAR\" id=\"jqXPDQH8rCokteOehs!T\">selected</field><value name=\"VALUE\"><block type=\"math_number\" id=\"?Z]_`CRF,ag]Hz|g#wpt\"><field name=\"NUM\">0</field></block></value><next><block type=\"procedures_callnoreturn\" id=\"$BpCh.iK?HWb-/FRFl.}\"><mutation name=\"printlist\"></mutation></block></next></block></next></block></next></block></next></block></next></block><block type=\"button_callback\" id=\"6iZ_q.G+py5MHEE0}u^4\" x=\"170\" y=\"-90\"><field name=\"BUTTON\">A</field><field name=\"EVENT\">wasPressed</field><statement name=\"FUNC\"><block type=\"math_change\" id=\"HSt_]{0:*+yd@TfSZG:p\"><field name=\"VAR\" id=\"jqXPDQH8rCokteOehs!T\">selected</field><value name=\"DELTA\"><shadow type=\"math_number\" id=\"9?v.D[K9Jqr^u7p@XA^W\"><field name=\"NUM\">1</field></shadow></value><next><block type=\"controls_if\" id=\"]7W-d4V8:^%RRPI02?9}\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"6~qL%{LLbPgJ]4qyC,B[\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"variables_get\" id=\"(XtHgJ?)G_[gPYGjEbD=\"><field name=\"VAR\" id=\"jqXPDQH8rCokteOehs!T\">selected</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"j*kBEsBf!qQrFZi$FmL.\"><field name=\"NUM\">6</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"-psnL7iqns6=64BBb0#f\"><field name=\"VAR\" id=\"jqXPDQH8rCokteOehs!T\">selected</field><value name=\"VALUE\"><block type=\"math_number\" id=\"%0evFFi?i7RP:I@##j3N\"><field name=\"NUM\">0</field></block></value></block></statement><next><block type=\"procedures_callnoreturn\" id=\"K=D-$fqw5Dv;=F7M3q.H\"><mutation name=\"printlist\"></mutation></block></next></block></next></block></statement></block><block type=\"button_callback\" id=\"CTF34!t}k1-YC[+?$z]m\" x=\"170\" y=\"170\"><field name=\"BUTTON\">B</field><field name=\"EVENT\">wasPressed</field><statement name=\"FUNC\"><block type=\"mqtt_publish\" id=\":Nhr+L^$#{iOo{EZ2~[D\"><value name=\"FROM\"><shadow type=\"text\" id=\"17Y:hKE/[hF+{$#BSg8m\"><field name=\"TEXT\">m5stack/menu</field></shadow></value><value name=\"MSG\"><shadow type=\"text\" id=\"KmK[#=;S1bIYn5L5$Q5I\"><field name=\"TEXT\"></field></shadow><block type=\"lists_getIndex\" id=\"ibzMuag~jht{Ch7KiwIS\"><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=\"NY9!CKtlqQAP~5H}Ch`/\"><field name=\"VAR\" id=\",-Up:+9[K7ZX;A]};;Q~\">list</field></block></value><value name=\"AT\"><block type=\"math_arithmetic\" id=\"=#%AuncG2+[rV_IoSUcj\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"variables_get\" id=\"pta)XW?13%oF0!C]Kz1~\"><field name=\"VAR\" id=\"jqXPDQH8rCokteOehs!T\">selected</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"x#e(-C2lF~9z2Q[xP,4+\"><field name=\"NUM\">1</field></block></value></block></value></block></value><next><block type=\"variables_set\" id=\"!/g0,A6g}X,vC/|l9z)|\"><field name=\"VAR\" id=\"jqXPDQH8rCokteOehs!T\">selected</field><value name=\"VALUE\"><block type=\"math_number\" id=\"3s~0#4:`94Ok}#/99vcV\"><field name=\"NUM\">0</field></block></value><next><block type=\"procedures_callnoreturn\" id=\"x%Z^7u$}EarmE[dg8^2T\"><mutation name=\"printlist\"></mutation></block></next></block></next></block></statement></block><block type=\"procedures_defnoreturn\" id=\"LNO9B,PS0,I7FCW0/by:\" x=\"-430\" y=\"410\"><field name=\"NAME\">printlist</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"lcd_clear\" id=\"fJFTL[NX@#u1mvLibqBo\"><next><block type=\"variables_set\" id=\"L[aqw)@?Ny4;YR4JcBnL\"><field name=\"VAR\" id=\"lE=7U[[Q5}NZ^;q%_rKA\">ii</field><value name=\"VALUE\"><block type=\"math_number\" id=\"d@dwf6w]|$Y^Aanlz[~|\"><field name=\"NUM\">0</field></block></value><next><block type=\"controls_forEach\" id=\"4k+5/fKZsq#+b54^Qkj4\"><field name=\"VAR\" id=\"]oCP[V)A22aeM1i3:6Pu\">i</field><value name=\"LIST\"><block type=\"variables_get\" id=\"-|DjMAZ,m4=L7F.%{wHh\"><field name=\"VAR\" id=\",-Up:+9[K7ZX;A]};;Q~\">list</field></block></value><statement name=\"DO\"><block type=\"controls_ifelse\" id=\"H0=*WJ1X,5:|vI?8t-69\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"=w^_JvOHS7p.H1?#$D6D\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get\" id=\",u2^;^W)`rcwr;xvl.QS\"><field name=\"VAR\" id=\"lE=7U[[Q5}NZ^;q%_rKA\">ii</field></block></value><value name=\"B\"><block type=\"variables_get\" id=\"k,iesEs]rzC*q}4HR*D{\"><field name=\"VAR\" id=\"jqXPDQH8rCokteOehs!T\">selected</field></block></value></block></value><statement name=\"DO0\"><block type=\"lcd_print\" id=\";gWXS,%(P=)VeFs#~/fo\"><field name=\"COLOR\">#ffffff</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\")X(/:;?~+(t|_+hRKKGt\"><field name=\"VAR\" id=\"]oCP[V)A22aeM1i3:6Pu\">i</field></block></value><value name=\"X\"><shadow type=\"math_number\" id=\"b:r3,hrYYtvl%aT5Wb5a\"><field name=\"NUM\">10</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"S;FL3~h=4m!2IvC~J!A4\"><field name=\"NUM\">0</field></shadow><block type=\"math_arithmetic_arr\" id=\"@:*4S#EpdWZE:ah$?Dwc\"><mutation items=\"1\"></mutation><field name=\"OP\">MULTIPLY</field><field name=\"OPERATOR0\">ADD</field><value name=\"A\"><block type=\"variables_get\" id=\"W{$N(HgQd/65O71?c),v\"><field name=\"VAR\" id=\"lE=7U[[Q5}NZ^;q%_rKA\">ii</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"d.nA5=ZTvpc1f*-tcAPj\"><field name=\"NUM\">25</field></block></value><value name=\"NUMBER_TO_CHECK0\"><block type=\"math_number\" id=\"sr|r@27MB[?}2h}r;Gf^\"><field name=\"NUM\">10</field></block></value></block></value></block></statement><statement name=\"ELSE\"><block type=\"lcd_print\" id=\"iM`pBbDwvvrw[7iRkX9*\"><field name=\"COLOR\">#9999ff</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"=FyPH#@O?2U^i]lCcQkN\"><field name=\"VAR\" id=\"]oCP[V)A22aeM1i3:6Pu\">i</field></block></value><value name=\"X\"><shadow type=\"math_number\" id=\"([:kLP`?}BC[3?is_)e*\"><field name=\"NUM\">10</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"oOdx0Is#$M_+]1sPoPJI\"><field name=\"NUM\">0</field></shadow><block type=\"math_arithmetic_arr\" id=\"R/~|IEd0}(nB~Al]{_M]\"><mutation items=\"1\"></mutation><field name=\"OP\">MULTIPLY</field><field name=\"OPERATOR0\">ADD</field><value name=\"A\"><block type=\"variables_get\" id=\"t7$CQ:=@Edg_92Xg1((F\"><field name=\"VAR\" id=\"lE=7U[[Q5}NZ^;q%_rKA\">ii</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"c={!*tEE(^0Q1K;xY{`A\"><field name=\"NUM\">25</field></block></value><value name=\"NUMBER_TO_CHECK0\"><block type=\"math_number\" id=\"eD*aJZxr6R%sY1[gux+m\"><field name=\"NUM\">10</field></block></value></block></value></block></statement><next><block type=\"variables_set\" id=\"uv3B)s6U8inN~C}4jp2r\"><field name=\"VAR\" id=\"lE=7U[[Q5}NZ^;q%_rKA\">ii</field><value name=\"VALUE\"><block type=\"math_arithmetic\" id=\"-WZjF:7E(V,W7V3~^C:7\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"variables_get\" id=\"bl3hF{]%{EV22EPFLgfx\"><field name=\"VAR\" id=\"lE=7U[[Q5}NZ^;q%_rKA\">ii</field></block></value><value name=\"B\"><block type=\"math_number\" id=\":={.5gx#vilo1.nHSYEj\"><field name=\"NUM\">1</field></block></value></block></value></block></next></block></statement></block></next></block></next></block></statement></block>","Blockly.Remotes":[],"Blockly.RemotePlus":[{"createTime":1627736201064,"name":"M5Remote","dragAndDrop":false,"resizable":false,"color":"#fff","bgColor":"#0080FF","type":"title","id":"__title"}],"modules":[]}