-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaws-flow.m5f
1 lines (1 loc) · 3.54 KB
/
aws-flow.m5f
1
{"components":[],"type":"atom","versions":"Beta","units":[],"hats":[],"blockly":"<block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"110\" y=\"10\"><next><block type=\"rgb_set_all_rgb\" id=\"Kx08Nd+pM:^RSTl:#Vf{\"><value name=\"R\"><shadow type=\"math_slider\" id=\"7+u*kadRd(et_dN^uRH`\"><field name=\"NUM\" max=\"255\" step=\"1\">255</field></shadow></value><value name=\"G\"><shadow type=\"math_slider\" id=\"_}@Eb0cDUE/!4E03c#HK\"><field name=\"NUM\" max=\"255\" step=\"1\">0</field></shadow></value><value name=\"B\"><shadow type=\"math_slider\" id=\"?N(Gl)*S5n4RVWV6yrW%\"><field name=\"NUM\" max=\"255\" step=\"1\">0</field></shadow></value><next><block type=\"aws_init\" id=\"}*!wokE~]1*hb+Lp.`s6\"><mutation key=\"private.pem.key\" cert=\"certificate.pem.crt\"></mutation><value name=\"things_name\"><shadow type=\"text\" id=\"6M!H]8ivY$AOoG:7ee+q\"><field name=\"TEXT\">m5atom</field></shadow></value><value name=\"host\"><shadow type=\"text\" id=\"bs9OiCwQV?[Y!/[;/ByQ\"><field name=\"TEXT\">a3j0hb4z14ku32-ats.iot.us-east-1.amazonaws.com</field></shadow></value><value name=\"port\"><shadow type=\"math_number\" id=\"~4~UB4(otf=goikI;Ybv\"><field name=\"NUM\">8883</field></shadow></value><value name=\"keepalive\"><shadow type=\"math_number\" id=\"]$/9HSVO9.go?9P0/A-(\"><field name=\"NUM\">60</field></shadow></value><next><block type=\"aws_start\" id=\"vyp1+i4x*q4I+w)|QuvW\"><next><block type=\"rgb_set_all_rgb\" id=\"^INls_67OMk7sF)]]aY7\"><value name=\"R\"><shadow type=\"math_slider\" id=\"@EXH$Sk3B_K{?%xn)Myh\"><field name=\"NUM\" max=\"255\" step=\"1\">0</field></shadow></value><value name=\"G\"><shadow type=\"math_slider\" id=\"!Eo$n@VJ/dA]%U)eJ{bD\"><field name=\"NUM\" max=\"255\" step=\"1\">0</field></shadow></value><value name=\"B\"><shadow type=\"math_slider\" id=\".x:bb4Hxo+,LB7hK2T1g\"><field name=\"NUM\" max=\"255\" step=\"1\">255</field></shadow></value></block></next></block></next></block></next></block></next></block><block type=\"button_callback\" id=\"#?(HzW8d7%yJ^kK9mciz\" x=\"770\" y=\"30\"><field name=\"BUTTON\">A</field><field name=\"EVENT\">wasPressed</field><statement name=\"FUNC\"><block type=\"aws_publish\" id=\"Vj:+{h1TfCv^#m*xSR3j\"><value name=\"FROM\"><shadow type=\"text\" id=\"Zus}FL|9u39f6bga;cM~\"><field name=\"TEXT\">m5stack/button</field></shadow></value><value name=\"MSG\"><shadow type=\"text\" id=\"IT`N})THq?U-Eot;w3q/\"><field name=\"TEXT\">Button A Pressed</field></shadow></value></block></statement></block><block type=\"aws_sub\" id=\"`8x)2e4Kf4HWtm2mx46Z\" x=\"770\" y=\"150\"><value name=\"FROM\"><shadow type=\"text\" id=\"bkraFjN,b?eBZN.3h}qj\"><field name=\"TEXT\">m5stack/rgb</field></shadow></value><statement name=\"FUNC\"><block type=\"rgb_set_all_rgb\" id=\"../D=oqQVs)hwdoTb7IA\"><value name=\"R\"><shadow type=\"math_slider\" id=\"R]1H8XC9E,cU*rEPS,0W\"><field name=\"NUM\" max=\"255\" step=\"1\">0</field></shadow></value><value name=\"G\"><shadow type=\"math_slider\" id=\"v=Y%Mlz5-j?D{=A}!_NC\"><field name=\"NUM\" max=\"255\" step=\"1\">0</field></shadow><block type=\"convent_int\" id=\"OPw$Oe(r2J|]o1ijb9BZ\"><value name=\"VALUE\"><block type=\"aws_get_topic_data\" id=\"FW9|:pT4q_LO?W)@h0:}\"></block></value></block></value><value name=\"B\"><shadow type=\"math_slider\" id=\"mKbVP!XtT{}_o+dr/_Jb\"><field name=\"NUM\" max=\"255\" step=\"1\">0</field></shadow></value></block></statement></block>","Blockly.Remotes":[],"Blockly.RemotePlus":[{"createTime":1626871968418,"name":"M5Remote","dragAndDrop":false,"resizable":false,"color":"#fff","bgColor":"#0080FF","type":"title","id":"__title"}],"modules":["rgb"]}