You are on page 1of 2

{"components":

[{"id":"____screen","createTime":1684377885940,"name":"screen","x":0,"y":0,"width":
320,"height":240,"backgroundColor":"#222222","backgroundImage":"","size":0,"screenT
ype":"default","type":"screen"},
{"id":"____buttonA","createTime":1684377885940,"name":"ButtonA","buttonIndex":0,"x"
:69,"y":440,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"butt
on"},
{"id":"____buttonB","createTime":1684377885941,"name":"ButtonB","buttonIndex":1,"x"
:253,"y":440,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"but
ton"},
{"id":"____buttonC","createTime":1684377885941,"name":"ButtonC","buttonIndex":2,"x"
:439,"y":440,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"but
ton"},
{"id":"eMKsJADKJ@LLoJmL","createTime":1684379882828,"isCoreTwo":false,"isPaper":fal
se,"name":"label0","x":139,"y":112,"color":"#FFFFFF","text":"label0","font":"lcd.FO
NT_Default","rotation":0,"screenType":"default","type":"label","layer":14,"width":n
ull,"height":null,"radius":null}],"type":"core","versions":"Beta","units":
[{"id":"i6*fe1xKbdn-
$E6T","createTime":1684378803294,"type":"pir","name":"pir_0","port":"B","default":
["A","B","C","E","Custom"],"user_port":
["21","22"],"icon":"pir.png","url":"https://docs.m5stack.com/en/unit/pir"}],"hats":
[],"stamps":[],"blockly":"<block type=\"basic_on_setup\" id=\"setup_block\"
deletable=\"false\" x=\"-430\" y=\"210\"><next><block type=\"basic_on_loop\"
id=\"z+ldKHwq{fb4o^c5$iYu\"><statement name=\"LOOP\"><block
type=\"controls_ifelse\" id=\"%/qh[fVQWhxmKeJY`9=m\"><value name=\"IF0\"><block
type=\"logic_compare\" id=\"MTcY`LvN?c+#tMW`%/tk\"><field
name=\"OP\">EQ</field><value name=\"A\"><block type=\"pir_read\"
id=\"o^PO`bC.Ef7jf^YM4(dU\"><field
name=\"VARNAME\">pir_0</field></block></value><value name=\"B\"><block
type=\"math_number\" id=\"0Q9nem0!$kJbVd5jMiP4\"><field
name=\"NUM\">1</field></block></value></block></value><statement
name=\"DO0\"><block type=\"basic_on_loop\" id=\"9~))ic9Y(-?[zsxTh{GN\"><statement
name=\"LOOP\"><block type=\"label_set_font\" id=\"c/vGUF}f`xe5~sdulSIa\"><field
name=\"COMPONENT\">label0</field><field
name=\"FONT_FAMILY\">FONT_DejaVu40</field><next><block type=\"label_set_text\"
id=\"w]9F@c;*I|gZnJhmfWG{\"><field name=\"COMPONENT\">label0</field><value
name=\"TEXT\"><shadow type=\"text\" id=\"8_s`Y6`uUw4c:3c?s^c.\"><field
name=\"TEXT\">Hello m5</field></shadow></value><next><block type=\"timer_delay\"
id=\"_FO)th)Y?4Tu2,^So8=y\"><value name=\"DELAY\"><shadow type=\"math_number\"
id=\"`.;(/t@mgHV}{DIPgBxn\"><field
name=\"NUM\">1</field></shadow></value><next><block type=\"label_set_color\"
id=\"QqTt]wmfqDgN)=+^T~Zz\"><field name=\"COMPONENT\">label0</field><field
name=\"COLOR\">#ff0000</field><next><block type=\"timer_delay\" id=\"51WIOwV!
fj6dJtp9h%T/\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\".@|wD*`F!
ebW(jjwA?TX\"><field name=\"NUM\">1</field></shadow></value><next><block
type=\"label_set_color\" id=\"*i;)-AC:O-ZHRx98A38I\"><field
name=\"COMPONENT\">label0</field><field name=\"COLOR\">#33cc00</field><next><block
type=\"timer_delay\" id=\"!-hpLjn!|p0R.zE}US^:\"><value name=\"DELAY\"><shadow
type=\"math_number\" id=\"V{NcoXz.},SgCYmCtL;j\"><field
name=\"NUM\">1</field></shadow></value><next><block type=\"label_set_color\"
id=\"HXzP-12%7s92r7e$y`?D\"><field name=\"COMPONENT\">label0</field><field
name=\"COLOR\">#000099</field><next><block type=\"timer_delay\"
id=\"rEZ1@dJSDbw4+B[4.[x]\"><value name=\"DELAY\"><shadow type=\"math_number\"
id=\"J4dfk@5UEZGuOFjK~Ki)\"><field
name=\"NUM\">1</field></shadow></value></block></next></block></next></block></
next></block></next></block></next></block></next></block></next></block></next></
block></statement></block></statement><statement name=\"ELSE\"><block
type=\"rgb_set_all\" id=\"lZk^@.W+k5=ug`q@cror\"><field
name=\"COLOR\">#000000</field></block></statement></block></statement></block></
next></block><block type=\"button_callback\" id=\"#;T4G%ke/J=]$f)VM-?{\" x=\"-10\"
y=\"290\"><field name=\"BUTTON\">A</field><field
name=\"EVENT\">wasPressed</field></block>","Blockly.Remotes":
[],"Blockly.RemotePlus":
[{"id":"__title","blockId":"","createTime":1684377885865,"name":"M5RemoteTitle","dr
agAndDrop":false,"resizable":false,"options":
{"minWidth":1,"minHeight":1,"maxWidth":6,"maxHeight":10,"defaultWidth":2,"defaultHe
ight":1},"w":2,"h":1,"bgColor":"#0080FF","color":"#fff","fontsize":"M","label":"M5R
emote","interval":3000,"code":"","event":"","dataSource":"none","ezdataToken":"bFwG
cPZ2Gq0r1ZAYGnsBFCBMmrWWDstt","topic":"","needShadow":false,"type":"title","x":null
,"y":null}],"modules":["rgb"],"cbIdList_":[],"eventCBIdList_":
[],"apikey":"50F981F6","uuid":"9c23c7ac-3f15-443a-9d01-4834cdfa8ce7"}

You might also like