-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmqtttest.m5f
1 lines (1 loc) · 3.28 KB
/
mqtttest.m5f
1
{"components":[{"id":"_coretwoscreen","createTime":1614277686962,"name":"screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#FFFFFF","backgroundImage":"","type":"screen"},{"id":"____buttonA","createTime":1614277686962,"name":"ButtonA","buttonIndex":0,"x":35,"y":216,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1614277686962,"name":"ButtonB","buttonIndex":1,"x":125,"y":216,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1614277686962,"name":"ButtonC","buttonIndex":2,"x":215,"y":216,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"},{"id":"I#H0r*+ej&kQXXY$","createTime":1614278393388,"isCoreTwo":true,"name":"label0","x":55,"y":31,"color":"#000","text":"Text","font":"FONT_MONT_14","rotation":0,"type":"label","layer":4,"width":null,"height":null,"radius":null},{"id":"Y78^j9ZB!J81TpFR","createTime":1614278395521,"name":"touch_button0","x":68,"y":139,"width":70,"height":30,"r":50,"text":"Button","font":"FONT_MONT_14","color":"#000000","borderColor":"#01a2b1","backgroundColor":"#FFFFFF","type":"touch_button","layer":5,"radius":null}],"type":"core2","versions":"Beta","units":[],"hats":[],"blockly":"<block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"50\" y=\"50\"><next><block type=\"mqtt_set_client\" id=\"8AF9eES~U9Cjk9DW.QD%\"><value name=\"ID\"><shadow type=\"text\" id=\"ido-2]#?p!7bebJEOHUT\"><field name=\"TEXT\"></field></shadow></value><value name=\"SERVER\"><shadow type=\"text\" id=\"B|_)ke}QHQqsWLtJj7#m\"><field name=\"TEXT\"></field></shadow></value><value name=\"PORT\"><shadow type=\"math_number\" id=\"5Wy)6l{p$_O2pkE?*F7c\"><field name=\"NUM\">1883</field></shadow></value><value name=\"USER\"><shadow type=\"text\" id=\"(E/Ju@f;|U#Z,|~5wED6\"><field name=\"TEXT\"></field></shadow></value><value name=\"PASSWORD\"><shadow type=\"text\" id=\"5eFm0@gB;x+6;J4mo~mJ\"><field name=\"TEXT\"></field></shadow></value><value name=\"KEEPALIVE\"><shadow type=\"math_number\" id=\"!4zy(]lg;jNG)%~1ScM_\"><field name=\"NUM\">300</field></shadow></value></block></next></block><block type=\"mqtt_sub\" id=\"cFSGQ)~5k%R?7):UC$8,\" x=\"250\" y=\"50\"><value name=\"FROM\"><shadow type=\"text\" id=\"g~Lk~7Br*c{xscH]hR4N\"><field name=\"TEXT\">calendarInfo</field></shadow></value><statement name=\"FUNC\"><block type=\"label_set_text\" id=\"m@*Q06oJUCDu+B0ZxLVj\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\";weZ*#u]ZEmResk-{)u~\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"mqtt_get_topic_data\" id=\"6Ybwx8b7$7Vjp0(6KL9|\"></block></value></block></statement></block><block type=\"button_set_cb\" id=\"X%Xx_sVo!$7pkK$yjo0E\" x=\"50\" y=\"270\"><field name=\"COMPONENT\">touch_button0</field><field name=\"EVENT\">pressed</field><statement name=\"FUNC\"><block type=\"mqtt_start\" id=\"Lirg4OrTORU/en5EAk#A\"><next><block type=\"mqtt_publish\" id=\"QL_9Q}M_+zWi%z{nQ!@,\"><value name=\"FROM\"><shadow type=\"text\" id=\"#ts+]i;FPc]G9XPLtn_D\"><field name=\"TEXT\">askForUpdate</field></shadow></value><value name=\"MSG\"><shadow type=\"text\" id=\"rk$d9BfU-WvCrg~s58/Z\"><field name=\"TEXT\">true</field></shadow></value></block></next></block></statement></block>","Blockly.Remotes":[],"modules":[]}