{"components":[{"id":"____screen","createTime":1639104518296,"name":"screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#222222","backgroundImage":"","type":"screen"},{"id":"____buttonA","createTime":1639104518297,"name":"ButtonA","buttonIndex":0,"x":35,"y":216,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1639104518297,"name":"ButtonB","buttonIndex":1,"x":125,"y":216,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1639104518297,"name":"ButtonC","buttonIndex":2,"x":215,"y":216,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"},{"id":"uxZicr1$4CULLeNd","createTime":1643849577063,"isCoreTwo":false,"isPaper":false,"name":"label0","x":8,"y":15,"color":"#FFFFFF","text":"Please scan your items here","font":"lcd.FONT_DejaVu18","rotation":0,"type":"label","layer":13},{"id":"c11PMJsOmg=r+ug+","createTime":1643849578535,"isCoreTwo":false,"isPaper":false,"name":"label1","x":84,"y":58,"color":"#FFFFFF","text":"Price of items","font":"lcd.FONT_DejaVu18","rotation":0,"type":"label","layer":14},{"id":"ezN1&Gdq3Z@#%%et","createTime":1643849580241,"isCoreTwo":false,"isPaper":false,"name":"label2","x":15,"y":58,"color":"#FFFFFF","text":"Item ","font":"lcd.FONT_DejaVu18","rotation":0,"type":"label","layer":15},{"id":"UO_poeffZdN%t9GL","createTime":1643849711027,"isCoreTwo":false,"isPaper":false,"name":"label3","x":15,"y":86,"color":"#FFFFFF","text":"Apple $1.00","font":"lcd.FONT_Default","rotation":0,"type":"label","layer":16},{"id":"4w#oVqS*cC2WMehf","createTime":1643849714471,"isCoreTwo":false,"isPaper":false,"name":"label4","x":15,"y":112,"color":"#FFFFFF","text":"Banana $1.50","font":"lcd.FONT_Default","rotation":0,"type":"label","layer":17},{"id":"CWKS5iA#vvG0rlpM","createTime":1643849717235,"isCoreTwo":false,"isPaper":false,"name":"label5","x":15,"y":136,"color":"#FFFFFF","text":"Milk $2.50","font":"lcd.FONT_Default","rotation":0,"type":"label","layer":18},{"id":"z=1*%Y6d*y7mq&y`","createTime":1643849832030,"isCoreTwo":false,"isPaper":false,"name":"label6","x":8,"y":165,"color":"#FFFFFF","text":"Text","font":"lcd.FONT_Default","rotation":0,"type":"label","layer":20},{"id":"-DZ6F6jwknFTE*84","createTime":1643849911038,"isCoreTwo":false,"isPaper":false,"name":"label7","x":8,"y":189,"color":"#FFFFFF","text":"Total Cost: $","font":"lcd.FONT_DejaVu18","rotation":0,"type":"label","layer":21},{"id":"YeKGux5Km87CbCr3","createTime":1643849913807,"isCoreTwo":false,"isPaper":false,"name":"label8","x":139,"y":189,"color":"#FFFFFF","text":"Text","font":"lcd.FONT_DejaVu18","rotation":0,"type":"label","layer":22},{"id":"ru6YoeSZllt+6QW@","createTime":1643850699142,"isCoreTwo":false,"isPaper":false,"name":"label9","x":13,"y":219,"color":"#FFFFFF","text":"Please scan your card to pay","font":"lcd.FONT_DejaVu18","rotation":0,"type":"label","layer":24},{"id":"TIR@EZ7hq8Hj0T&h","createTime":1643851033474,"isCoreTwo":false,"isPaper":false,"name":"label10","x":8,"y":37,"color":"#FFFFFF","text":"Total amount of $","font":"lcd.FONT_DejaVu18","rotation":0,"type":"label","layer":26},{"id":"!-&O%ldu#X5uFIu&","createTime":1643867818559,"isCoreTwo":false,"isPaper":false,"name":"label11","x":189,"y":37,"color":"#FFFFFF","text":"Text","font":"lcd.FONT_DejaVu18","rotation":0,"type":"label","layer":39},{"id":"+f0odHEB!dpyW#ML","createTime":1643867838904,"isCoreTwo":false,"isPaper":false,"name":"label12","x":11,"y":57,"color":"#FFFFFF","text":"Has been paid ","font":"lcd.FONT_DejaVu18","rotation":0,"type":"label","layer":40},{"id":"_Q=`FGkEE=ADX-Z8","createTime":1643867856250,"isCoreTwo":false,"isPaper":false,"name":"label13","x":1,"y":106,"color":"#FFFFFF","text":"Thank you and have a nice day","font":"lcd.FONT_DejaVu18","rotation":0,"type":"label","layer":41}],"type":"fire","versions":"Beta","units":[{"id":"3^v4uMV0dG-r3i5=","createTime":1643941612319,"type":"rfid","name":"rfid0","port":"PAHUB","default":["A","E","PAHUB","Custom"],"pb_port":[0,1,2,3,4,5],"new_pb_port":"0","user_port":["21","22"],"icon":"rfid.png"},{"id":"q&9F!=Z2zcb9TTfg","createTime":1643941612319,"type":"pahub","name":"pahub1","port":"A","default":["A","E","Custom"],"user_port":["21","22"],"icon":"pa_hub.png"},{"id":"LQmg2+nZb`$wn#Oy","createTime":1643941612319,"type":"rfid","name":"rfid3","port":"PAHUB","default":["A","E","PAHUB","Custom"],"pb_port":[0,1,2,3,4,5],"new_pb_port":"5","user_port":["21","22"],"icon":"rfid.png"}],"hats":[],"blockly":"<variables><variable id=\"`yfg.vASIate?Wersv=$\">Totalcost</variable></variables><block type=\"button_callback\" id=\"|E/kV_y%mcY~,vt~6tU1\" x=\"610\" y=\"-110\"><field name=\"BUTTON\">A</field><field name=\"EVENT\">wasPressed</field></block><block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"238\" y=\"112\"><next><block type=\"variables_set\" id=\":pHAG/#fD6UE-kN5ySYR\"><field name=\"VAR\" id=\"`yfg.vASIate?Wersv=$\">Totalcost</field><value name=\"VALUE\"><block type=\"math_number\" id=\"BK-1rYFKNzBEC?m%R]n|\"><field name=\"NUM\">0</field></block></value><next><block type=\"label_set_mode\" id=\"K83];b;|~/o4N.3,.!]Q\"><field name=\"COMPONENT\">label10</field><field name=\"MODE\">hide</field><next><block type=\"label_set_mode\" id=\"#ehpIV:tk!Vd3CBR;kvo\"><field name=\"COMPONENT\">label11</field><field name=\"MODE\">hide</field><next><block type=\"label_set_mode\" id=\"uZ6|0_Bz,|h#(?}DANw:\"><field name=\"COMPONENT\">label12</field><field name=\"MODE\">hide</field><next><block type=\"label_set_mode\" id=\"Vg`mZZ_jn}uceB-HD{#p\"><field name=\"COMPONENT\">label13</field><field name=\"MODE\">hide</field><next><block type=\"basic_on_loop\" id=\"`E!X0pi)ZdErs+i^*jK8\"><statement name=\"LOOP\"><block type=\"label_set_text\" id=\",9x)(`IWY^my)mLgJ66i\"><field name=\"COMPONENT\">label8</field><value name=\"TEXT\"><shadow type=\"text\" id=\"m_ETWDA#t]hlpE$e]_@S\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"FcWtBDL5Ub)/F9*/zbT.\"><field name=\"VAR\" id=\"`yfg.vASIate?Wersv=$\">Totalcost</field></block></value><next><block type=\"controls_if\" id=\"9Q(k+T%GY5EUP5hzXrsT\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"vync,iX^;;!K5uXjeWN1\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"rfid_uid\" id=\"7%kH8g^m783Q?!.-!8Z4\"><field name=\"RFID\">rfid0</field></block></value><value name=\"B\"><block type=\"text\" id=\"(wu|eL5{pGA=?XrS2yx3\"><field name=\"TEXT\">779842ec41</field></block></value></block></value><statement name=\"DO0\"><block type=\"label_set_text\" id=\"P{LcsQhTu;YO2x,/v6_8\"><field name=\"COMPONENT\">label6</field><value name=\"TEXT\"><shadow type=\"text\" id=\"6Hr(:bUc*aA~7~qm?}lM\"><field name=\"TEXT\">Apple price:$1.00 Added to the cart</field></shadow></value><next><block type=\"math_change\" id=\")Hl#nQaM$V#jTHjFi`:c\"><field name=\"VAR\" id=\"`yfg.vASIate?Wersv=$\">Totalcost</field><value name=\"DELTA\"><shadow type=\"math_number\" id=\"yhyM|~3.CQg_56a$,:Ta\"><field name=\"NUM\">1</field></shadow></value></block></next></block></statement><next><block type=\"controls_if\" id=\"zRjXm~jFt0N8y~8yP6xg\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"4XR0ddW?Ouuj^*xe?RU$\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"rfid_uid\" id=\"i7I?uQ+;YR1k%$Ozx,Yb\"><field name=\"RFID\">rfid0</field></block></value><value name=\"B\"><block type=\"text\" id=\"q?_XkgDd@[Of_z7.2_*Y\"><field name=\"TEXT\">b0b12aa21</field></block></value></block></value><statement name=\"DO0\"><block type=\"label_set_text\" id=\"/#uX%#zj)1+pmmJAsKfT\"><field name=\"COMPONENT\">label6</field><value name=\"TEXT\"><shadow type=\"text\" id=\"Wz@=Vpa`Nv$5M^Lg*7V0\"><field name=\"TEXT\">Banana price:$1.50 Added to the cart</field></shadow></value><next><block type=\"math_change\" id=\"y1[bn;+jY#wgs}Bx%chs\"><field name=\"VAR\" id=\"`yfg.vASIate?Wersv=$\">Totalcost</field><value name=\"DELTA\"><shadow type=\"math_number\" id=\"NMr{GKzf13^a|D_A#^GH\"><field name=\"NUM\">1.5</field></shadow></value></block></next></block></statement><next><block type=\"controls_if\" id=\"G]4|HUdMKD!#$(]c#Mk3\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"U~0EiENHkV9/g#WolJoZ\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"rfid_uid\" id=\"KA!e]C-21A-O+Zv,i`~?\"><field name=\"RFID\">rfid0</field></block></value><value name=\"B\"><block type=\"text\" id=\"qbeS]BIekBq]P#3pe#{b\"><field name=\"TEXT\">c2ecf011cf</field></block></value></block></value><statement name=\"DO0\"><block type=\"label_set_text\" id=\"Wk|wa}=U9v1DJGhyM[dX\"><field name=\"COMPONENT\">label6</field><value name=\"TEXT\"><shadow type=\"text\" id=\"xO=DQ0lli)D285;]Zt]W\"><field name=\"TEXT\">Milk price:$2.50 Added to the cart</field></shadow></value><next><block type=\"math_change\" id=\"j1+s{d]YW*Wc?qb^7c$W\"><field name=\"VAR\" id=\"`yfg.vASIate?Wersv=$\">Totalcost</field><value name=\"DELTA\"><shadow type=\"math_number\" id=\"+Ps3=1u4L?Sv*e=+Z,S4\"><field name=\"NUM\">2.5</field></shadow></value></block></next></block></statement><next><block type=\"controls_if\" id=\"Fr(Y-paE?r$(iglp$,sb\"><value name=\"IF0\"><block type=\"rfid_cardOn\" id=\"?x98dpsxH#s}(~_zj_vj\"><field name=\"RFID\">rfid3</field></block></value><statement name=\"DO0\"><block type=\"label_set_mode\" id=\"fn{keV4_5inKk`^]T8o~\"><field name=\"COMPONENT\">label0</field><field name=\"MODE\">hide</field><next><block type=\"label_set_mode\" id=\"za?Ei*W9Y]xlfmIzqIi%\"><field name=\"COMPONENT\">label1</field><field name=\"MODE\">hide</field><next><block type=\"label_set_mode\" id=\"Ck|%V*h;9MUBICO%9A@`\"><field name=\"COMPONENT\">label2</field><field name=\"MODE\">hide</field><next><block type=\"label_set_mode\" id=\"Ry*364PiH(vD8?rq!@0a\"><field name=\"COMPONENT\">label3</field><field name=\"MODE\">hide</field><next><block type=\"label_set_mode\" id=\"9I)Rktw#w9R=gordTz(5\"><field name=\"COMPONENT\">label4</field><field name=\"MODE\">hide</field><next><block type=\"label_set_mode\" id=\"dj_l%ZwE+%b:Xos=okNB\"><field name=\"COMPONENT\">label5</field><field name=\"MODE\">hide</field><next><block type=\"label_set_mode\" id=\"y[`%0pL|cLuJgA6V~HX=\"><field name=\"COMPONENT\">label6</field><field name=\"MODE\">hide</field><next><block type=\"label_set_mode\" id=\"kuPV]Y]jmo[B5P6[@%(T\"><field name=\"COMPONENT\">label7</field><field name=\"MODE\">hide</field><next><block type=\"label_set_mode\" id=\"zBlkIsN_rO*([n+Dd{xT\"><field name=\"COMPONENT\">label8</field><field name=\"MODE\">hide</field><next><block type=\"label_set_mode\" id=\"g=yjwY_z:_FJc^.MF(oV\"><field name=\"COMPONENT\">label9</field><field name=\"MODE\">hide</field><next><block type=\"label_set_mode\" id=\"GKkVE~/va~O~#ZncKkGK\"><field name=\"COMPONENT\">label10</field><field name=\"MODE\">show</field><next><block type=\"label_set_text\" id=\"R}mpknEub67O3Y7LxW9x\"><field name=\"COMPONENT\">label11</field><value name=\"TEXT\"><shadow type=\"text\" id=\"NLg!Y(EGIvnx~#:fr@N~\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"nfH0ZK1FTH-eb:FOYP/!\"><field name=\"VAR\" id=\"`yfg.vASIate?Wersv=$\">Totalcost</field></block></value><next><block type=\"label_set_mode\" id=\"cvAh`:VoYSDx9B%2JUya\"><field name=\"COMPONENT\">label12</field><field name=\"MODE\">show</field><next><block type=\"label_set_mode\" id=\":6Pxdv%r([J(W5y$If96\"><field name=\"COMPONENT\">label13</field><field name=\"MODE\">show</field><next><block type=\"timer_delay\" id=\"?^%6^dwILODXVV1OXAw4\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"$]vj78!K7$J~P+G=2]Ld\"><field name=\"NUM\">5</field></shadow></value><next><block type=\"variables_set\" id=\"ql}[#`}@leHWH_^-z,-s\"><field name=\"VAR\" id=\"`yfg.vASIate?Wersv=$\">Totalcost</field><value name=\"VALUE\"><block type=\"math_number\" id=\"]wNl2cO[}Bc4UQ1NmrtE\"><field name=\"NUM\">0</field></block></value><next><block type=\"label_set_mode\" id=\")y[6}sbu9$NRalqaha4p\"><field name=\"COMPONENT\">label0</field><field name=\"MODE\">show</field><next><block type=\"label_set_mode\" id=\"ul[64Bf6;)7^sek55d*@\"><field name=\"COMPONENT\">label1</field><field name=\"MODE\">show</field><next><block type=\"label_set_mode\" id=\"6l1)*e4-LGK$#uQ9+|!?\"><field name=\"COMPONENT\">label2</field><field name=\"MODE\">show</field><next><block type=\"label_set_mode\" id=\"VQal9Mde4R[I%|Vx.3pa\"><field name=\"COMPONENT\">label3</field><field name=\"MODE\">show</field><next><block type=\"label_set_mode\" id=\"EMbS+1xR])BNG:kwXAe=\"><field name=\"COMPONENT\">label4</field><field name=\"MODE\">show</field><next><block type=\"label_set_mode\" id=\";RW9zAaJxb!Dk9?:+-DN\"><field name=\"COMPONENT\">label5</field><field name=\"MODE\">show</field><next><block type=\"label_set_mode\" id=\"o,60#cvjq3@k^@w+{zX=\"><field name=\"COMPONENT\">label6</field><field name=\"MODE\">show</field><next><block type=\"label_set_mode\" id=\";O46zrB?:zET7qiNG=W(\"><field name=\"COMPONENT\">label7</field><field name=\"MODE\">show</field><next><block type=\"label_set_mode\" id=\"FX/gycU;mL/VO]FdL;g;\"><field name=\"COMPONENT\">label8</field><field name=\"MODE\">show</field><next><block type=\"label_set_mode\" id=\"ahD],DwuQftKU-hv%7.`\"><field name=\"COMPONENT\">label9</field><field name=\"MODE\">show</field><next><block type=\"label_set_mode\" id=\"fs5GmQr:${1~SX#FkYpX\"><field name=\"COMPONENT\">label10</field><field name=\"MODE\">hide</field><next><block type=\"label_set_mode\" id=\"}sw9h.qALDFcDhXQ1Tr`\"><field name=\"COMPONENT\">label11</field><field name=\"MODE\">hide</field><next><block type=\"label_set_mode\" id=\"P64:}NXEhhyWI!VvZ)HR\"><field name=\"COMPONENT\">label12</field><field name=\"MODE\">hide</field><next><block type=\"label_set_mode\" id=\"?*fp{kTXiGT_brXjoDW`\"><field name=\"COMPONENT\">label13</field><field name=\"MODE\">hide</field></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block><block type=\"rfid_cardOn\" id=\"lalrFU)m#f3%S=u~CB}j\" disabled=\"true\" x=\"890\" y=\"170\"><field name=\"RFID\">rfid0</field></block><block type=\"timer_delay\" id=\"brGbw5o}=(z.cVC])+dP\" disabled=\"true\" x=\"810\" y=\"410\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"gLl9ZO`/dV9[,us+o)K+\" disabled=\"true\"><field name=\"NUM\">0.5</field></shadow></value><next><block type=\"timer_delay\" id=\"}s_fLCCDbQEJr.`9i!.2\" disabled=\"true\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"$OMTk77bcnOL,?PR8WaS\" disabled=\"true\"><field name=\"NUM\">0.5</field></shadow></value></block></next></block>","Blockly.Remotes":[],"modules":["rgb"]}
Comments