-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.m5f
1 lines (1 loc) · 5.82 KB
/
main.m5f
1
{"components":[{"id":"_coretwoscreen","createTime":1712827416709,"name":"screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#252525","backgroundImage":"","type":"screen"},{"id":"____buttonA","createTime":1712827416709,"name":"ButtonA","buttonIndex":0,"x":35,"y":216,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1712827416709,"name":"ButtonB","buttonIndex":1,"x":125,"y":216,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1712827416709,"name":"ButtonC","buttonIndex":2,"x":215,"y":216,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"}],"type":"core2","versions":"Beta","units":[],"hats":[],"blockly":"<block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"110\" y=\"90\"><next><block type=\"procedures_callnoreturn\" id=\"rrN#b{BN7bOtG*t_y?*+\"><mutation name=\"showHome\"></mutation></block></next></block><block type=\"procedures_defnoreturn\" id=\"~l(c8c8}5k7[}PSK~]n3\" x=\"710\" y=\"170\"><field name=\"NAME\">showHome</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"lcd_clear\" id=\"Ay0SVE7:yBK20oAuSlj/\"><next><block type=\"lcd_print\" id=\"KPV+.Y:qI9v0RRxrrCIw\"><field name=\"COLOR\">#ffffff</field><value name=\"TEXT\"><shadow type=\"text\" id=\"5;E$(klNF;pt^1#x`Viv\"><field name=\"TEXT\">Huidig Verbruik</field></shadow></value><value name=\"X\"><shadow type=\"math_number\" id=\"`,{5#hSGEHC;^#8H#!e/\"><field name=\"NUM\">10</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"/j:VKGj6L`q8;RNkWA1^\"><field name=\"NUM\">5</field></shadow></value></block></next></block></statement></block><block type=\"button_callback\" id=\"s6`L@2QQYuLNGrm|=Cb;\" x=\"90\" y=\"330\"><field name=\"BUTTON\">A</field><field name=\"EVENT\">wasPressed</field><statement name=\"FUNC\"><block type=\"procedures_callnoreturn\" id=\":#hAWs+1L)b;?H}W#vn$\"><mutation name=\"showWeather\"></mutation></block></statement></block><block type=\"procedures_defnoreturn\" id=\"]k+9XxEyraE`!}WW30ul\" x=\"710\" y=\"330\"><field name=\"NAME\">showWeather</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"lcd_clear\" id=\"@qLnY*7XQl[-@H}/Yo4t\"><next><block type=\"lcd_print\" id=\"K]s7DYtEfHaSx)[V=`pO\"><field name=\"COLOR\">#ffffff</field><value name=\"TEXT\"><shadow type=\"text\" id=\"r-5sVcbzZVvhxI$SRt3Q\"><field name=\"TEXT\">Weer</field></shadow></value><value name=\"X\"><shadow type=\"math_number\" id=\"w46m5JMxV]9,S1mQyDr=\"><field name=\"NUM\">10</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"KK9lnUw%eF#c0_x{%yY6\"><field name=\"NUM\">5</field></shadow></value></block></next></block></statement></block><block type=\"button_callback\" id=\"%ZfxryT:ELxGJs0E(+WV\" x=\"90\" y=\"430\"><field name=\"BUTTON\">B</field><field name=\"EVENT\">wasPressed</field><statement name=\"FUNC\"><block type=\"procedures_callnoreturn\" id=\"Dk+brB8.1f`KmtM1#T~x\"><mutation name=\"showHome\"></mutation></block></statement></block><block type=\"procedures_defnoreturn\" id=\"1:q@+4!BK*AJi;di0dwS\" x=\"710\" y=\"490\"><field name=\"NAME\">showDevices</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"lcd_clear\" id=\",P6BOT#ykHoY}_qP9cF2\"><next><block type=\"lcd_print\" id=\"hYebnS,]2zvloCa%]uQU\"><field name=\"COLOR\">#ffffff</field><value name=\"TEXT\"><shadow type=\"text\" id=\"6C=Kj(LWL8uvz^-$2l=F\"><field name=\"TEXT\">Apparaatbeheer</field></shadow></value><value name=\"X\"><shadow type=\"math_number\" id=\"{#[QJawBJ^sY.?KXUoy,\"><field name=\"NUM\">10</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"@JAUxmFo_I2aXht;kRv5\"><field name=\"NUM\">5</field></shadow></value></block></next></block></statement></block><block type=\"button_callback\" id=\"?]FDNqp(=PgGQns+n^v9\" x=\"90\" y=\"530\"><field name=\"BUTTON\">C</field><field name=\"EVENT\">wasPressed</field><statement name=\"FUNC\"><block type=\"procedures_callnoreturn\" id=\"QzAUAMmTi#s[5_%m2/^g\"><mutation name=\"showDevices\"></mutation></block></statement></block><block type=\"button_callback\" id=\"kWmz*A4q#-7Phab10rRx\" x=\"90\" y=\"630\"><field name=\"BUTTON\">B</field><field name=\"EVENT\">pressFor</field><statement name=\"FUNC\"><block type=\"procedures_callnoreturn\" id=\"TZcoIfp.OSdJ$[Qjrw#:\"><mutation name=\"showSettings\"></mutation></block></statement></block><block type=\"procedures_defnoreturn\" id=\"0apZ@-.]J0T`bU?[IG2]\" x=\"710\" y=\"670\"><field name=\"NAME\">showSettings</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"lcd_clear\" id=\"fW$kS+0E{LJ%+mz]~jMt\"><next><block type=\"lcd_print\" id=\"]D14J|l`S}oMpT#RiX4O\"><field name=\"COLOR\">#ffffff</field><value name=\"TEXT\"><shadow type=\"text\" id=\"lR!x*n4OUhLXC[+eQq%P\"><field name=\"TEXT\">Instellingen</field></shadow></value><value name=\"X\"><shadow type=\"math_number\" id=\"z8B#eAf1zF/h/(w`bTk9\"><field name=\"NUM\">10</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"j;_(^.n61[GqCx_Lxfxr\"><field name=\"NUM\">5</field></shadow></value></block></next></block></statement></block>","Blockly.Remotes":[],"Blockly.RemotePlus":[{"id":"__title","blockId":"","createTime":1715853284739,"name":"M5RemoteTitle","dragAndDrop":false,"resizable":false,"options":{"minWidth":1,"minHeight":1,"maxWidth":6,"maxHeight":10,"defaultWidth":2,"defaultHeight":1},"w":2,"h":1,"bgColor":"#0080FF","color":"#fff","fontsize":"M","label":"M5Remote","interval":3000,"code":"","event":"","dataSource":"none","ezdataToken":"","topic":"","needShadow":false,"type":"title","x":0,"y":0}],"modules":[],"cbIdList_":[],"eventCBIdList_":[]}