Christian Tan
Published

The EcoHouse

The EcoHouse is a mini greenhouse with a multitude of sensors it assist and manage the growth of plants.

IntermediateProtip94
The EcoHouse

Things used in this project

Hardware components

RFID reader (generic)
×1
M5Stack FIRE IoT Development Kit (PSRAM 2.0)
M5Stack FIRE IoT Development Kit (PSRAM 2.0)
×2
SG90 Micro-servo motor
SG90 Micro-servo motor
×1
I/O Hub 1 to 6 Expansion Unit (MEGA328)
×1
I2C Hub 1 to 6 Expansion Unit (TCA9548A)
×1
Time-of-Flight Distance Ranging Sensor Unit (VL53L0X)
×1
Earth Moisture Sensor Unit Analog and Digital Output
×1
RGB LED Unit (SK6812)
×1
Dlight Unit - Ambient Light Sensor (BH1750FVI-TR)
×1

Software apps and online services

M5Stack UIFlow

Story

Read more

Schematics

Project Slides

Code

Code

Python
{"components":[{"id":"____screen","createTime":1641870195919,"name":"screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#222222","backgroundImage":"","type":"screen"},{"id":"____buttonA","createTime":1641870195920,"name":"ButtonA","buttonIndex":0,"x":35,"y":216,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1641870195920,"name":"ButtonB","buttonIndex":1,"x":125,"y":216,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1641870195920,"name":"ButtonC","buttonIndex":2,"x":215,"y":216,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"},{"id":"+NHKp-rJG$BGBaiC","createTime":1641870581835,"isCoreTwo":false,"isPaper":false,"name":"label0","x":64,"y":52,"color":"#FFFFFF","text":"Text","font":"lcd.FONT_Default","rotation":0,"type":"label","layer":4,"width":null,"height":null,"radius":null}],"type":"fire","versions":"Beta","units":[{"id":"RBKJ@o1!X0a$0Uv4","createTime":1641870316959,"type":"pbhub","name":"pbhub0","port":"PAHUB","default":["A","E","PAHUB","Custom"],"pb_port":[0,1,2,3,4,5],"new_pb_port":"0","user_port":["21","22"],"icon":"pb_hub.png","new_port":"PAHUB","new_default":["A","E","PAHUB","Custom"]},{"id":"mD8%tH8yWXVyIP7o","createTime":1641870332151,"type":"pahub","name":"pahub0","port":"A","default":["A","E","Custom"],"user_port":["21","22"],"icon":"pa_hub.png","new_port":"A","new_default":["A","E","Custom"]},{"id":"x9#QJjxk$#71Lxm7","createTime":1641870485594,"hidden":false,"type":"env2","name":"env20","port":"PAHUB","default":["A","E","PAHUB","Custom"],"pb_port":[0,1,2,3,4,5],"new_pb_port":"1","user_port":["21","22"],"icon":"env2.png","new_port":"PAHUB","new_default":["A","E","PAHUB","Custom"]},{"id":"jii5&Z%fEqfF#RAO","createTime":1641871815565,"type":"rgb","name":"rgb1","port":"B","default":["A","B","E","Custom"],"user_port":["21","22"],"icon":"rgb.png","new_port":"B","new_default":["A","B","E","Custom"]},{"id":"D*fPyOi7&-Qbv2GR","createTime":1641871992086,"stickNone":"stick","type":"tof","name":"tof0","port":"PAHUB","default":["A","E","PAHUB","Custom"],"pb_port":[0,1,2,3,4,5],"new_pb_port":"2","user_port":["21","22"],"icon":"tof.png","new_port":"PAHUB","new_default":["A","E","PAHUB","Custom"]}],"hats":[],"blockly":"<variables><variable id=\"0o3)5rPvv19Z3%b]]@Yd\">Height</variable><variable id=\",x?Fa.P$VA*PGYb5?hW3\">LIGHT</variable></variables><block type=\"text\" id=\"0xhnB|2=@$1,_{:LH+Cu\" disabled=\"true\" x=\"-370\" y=\"-30\"><field name=\"TEXT\">CODE FOR LIGHT SYSTEM</field></block><block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"50\" y=\"-30\"><next><block type=\"basic_on_loop\" id=\"dr*7n[Lx1G[RL@l${iwq\"><statement name=\"LOOP\"><block type=\"label_set_text\" id=\"lT~anV+AnK.Z%(1}EpUQ\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"|r^rp@dt`,j+o/nL,=L4\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"procedures_callreturn\" id=\"JqkAR`bXkJe)75K=0;q]\"><mutation name=\"Plant Height\"></mutation></block></value></block></statement></block></next></block><block type=\"basic_on_loop\" id=\"=9y@oN}EN]`HK)uJM;y4\" disabled=\"true\" x=\"-370\" y=\"10\"><statement name=\"LOOP\"><block type=\"label_set_text\" id=\"]I~T,_h+KkB=WHE:4ruk\" disabled=\"true\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"h_`((/+r;%F^8A~ik75x\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"procedures_callreturn\" id=\"Q#xuGn|lgW4ATaecQ$I5\" disabled=\"true\"><mutation name=\"Light Sensor\"></mutation></block></value><next><block type=\"procedures_callnoreturn\" id=\"Gr,q{4SN~iD_r5q)ts;,\" disabled=\"true\"><mutation name=\"RGB\"></mutation></block></next></block></statement></block><block type=\"variables_set\" id=\"WWG@9YX#o*bUj,u9Dj)A\" disabled=\"true\" x=\"-110\" y=\"110\"><field name=\"VAR\" id=\"0o3)5rPvv19Z3%b]]@Yd\">Height</field></block><block type=\"variables_get\" id=\"68f2@Y]hn/jMR79uf#fE\" disabled=\"true\" x=\"250\" y=\"130\"><field name=\"VAR\" id=\",x?Fa.P$VA*PGYb5?hW3\">LIGHT</field></block><block type=\"unit_tof_state\" id=\"?wiqUg4Gi|2SQ,~Cwm=C\" disabled=\"true\" x=\"290\" y=\"150\"><field name=\"TOF\">tof0</field></block><block type=\"procedures_defreturn\" id=\"ELDM;ubs/[;jpJbj*$j=\" x=\"-150\" y=\"250\"><field name=\"NAME\">Plant Height</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"controls_ifelse\" id=\"yIVfk2%bi,SoKh*pnqD*\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"d0H5Kn2^z|tZcv`U3Uw:\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"math_number\" id=\";,rEW}(9mZVKCA(gqoqB\"><field name=\"NUM\">50</field></block></value><value name=\"B\"><block type=\"unit_tof_state\" id=\"{q?/g}^VydL__ZS@;)_(\"><field name=\"TOF\">tof0</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"H~{t/Dd`N+.m%875L??|\"><field name=\"VAR\" id=\"0o3)5rPvv19Z3%b]]@Yd\">Height</field><value name=\"VALUE\"><block type=\"math_number\" id=\"7;P]1,wjFlZKrihKDE{_\"><field name=\"NUM\">5</field></block></value></block></statement><statement name=\"ELSE\"><block type=\"controls_ifelse\" id=\"b$I%t+)dGOgF6[Cu+J8s\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"0jZh;rOj/;+Vf4hEbdL=\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"math_number\" id=\"kB}=S;u6.~Fxjv`74AQ1\"><field name=\"NUM\">100</field></block></value><value name=\"B\"><block type=\"unit_tof_state\" id=\"|,FO*q%+^yedaT;.G8zA\"><field name=\"TOF\">tof0</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"zQ0J@ClvHbGyX[F@mGQ%\"><field name=\"VAR\" id=\"0o3)5rPvv19Z3%b]]@Yd\">Height</field><value name=\"VALUE\"><block type=\"math_number\" id=\"Mg;Uc{;Qa9Yvr;d||$s{\"><field name=\"NUM\">4</field></block></value></block></statement><statement name=\"ELSE\"><block type=\"controls_ifelse\" id=\";yB-v-J9{}rMirzsTq)c\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"9KkPkR3v[ls`?BLbD9%d\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"math_number\" id=\"2WfRjun]Cx.[8u,3Or7%\"><field name=\"NUM\">150</field></block></value><value name=\"B\"><block type=\"unit_tof_state\" id=\"*C9paq#7gB]I^v7YOM=y\"><field name=\"TOF\">tof0</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"{~#u1^8R.okMX)N:ZhAP\"><field name=\"VAR\" id=\"0o3)5rPvv19Z3%b]]@Yd\">Height</field><value name=\"VALUE\"><block type=\"math_number\" id=\"m?,AiX?IFzQdwxUjN3E=\"><field name=\"NUM\">3</field></block></value></block></statement><statement name=\"ELSE\"><block type=\"controls_ifelse\" id=\"LpRV3;{/%|{qYjl=I7/J\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"v+/-!8ygy9U:NBZz}j?Q\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"math_number\" id=\"3-EepRPL{p*GqPYj5k^6\"><field name=\"NUM\">200</field></block></value><value name=\"B\"><block type=\"unit_tof_state\" id=\"X6H#euEbbff[B41F2=uX\"><field name=\"TOF\">tof0</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"o:.?tP_gph#C9..oazxQ\"><field name=\"VAR\" id=\"0o3)5rPvv19Z3%b]]@Yd\">Height</field><value name=\"VALUE\"><block type=\"math_number\" id=\"z8C:g1YgNi)h+4^j=4ww\"><field name=\"NUM\">2</field></block></value></block></statement><statement name=\"ELSE\"><block type=\"controls_if\" id=\"e9#M]30zBP|(gt$E76dH\"><value name=\"IF0\"><block type=\"logic_compare\" id=\".iQXMpyb|{W62B@{fOoN\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"math_number\" id=\"74:v)-zb-i^qoN[~F1G?\"><field name=\"NUM\">250</field></block></value><value name=\"B\"><block type=\"unit_tof_state\" id=\"A1p$$%}FEprmLeTkdvKo\"><field name=\"TOF\">tof0</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"{p/+T]h3?!XwprPWGM5$\"><field name=\"VAR\" id=\"0o3)5rPvv19Z3%b]]@Yd\">Height</field><value name=\"VALUE\"><block type=\"math_number\" id=\"#vXVF1~tNUEOU9N*D6*I\"><field name=\"NUM\">1</field></block></value></block></statement></block></statement></block></statement></block></statement></block></statement></block></statement><value name=\"RETURN\"><block type=\"variables_get\" id=\"l.[{J)S+s)t]D])@!dPu\"><field name=\"VAR\" id=\"0o3)5rPvv19Z3%b]]@Yd\">Height</field></block></value></block><block type=\"variables_get\" id=\"dFT`%7FqJ@5Pd!B~Qq8O\" disabled=\"true\" x=\"350\" y=\"230\"><field name=\"VAR\" id=\"0o3)5rPvv19Z3%b]]@Yd\">Height</field></block><block type=\"procedures_defnoreturn\" id=\",BUN?`0-}W0oE0r||Q9T\" x=\"970\" y=\"310\"><field name=\"NAME\">RGB</field><comment pinned=\"false\" h=\"80\" w=\"160\">LIGHT FOR PLANT</comment><statement name=\"STACK\"><block type=\"controls_ifelse\" id=\"n)W#3Da=Ux+.=gM9u5`:\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"LSbS(7,S7(}C4(~VZP#m\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"procedures_callreturn\" id=\"7}WNg.yM1E[(j?RNb*!.\"><mutation name=\"Light Sensor\"></mutation></block></value><value name=\"B\"><block type=\"math_number\" id=\"@]U6SECzDv)Uj5[#_ra|\"><field name=\"NUM\">1</field></block></value></block></value><statement name=\"DO0\"><block type=\"rgb_unit_set_color_all\" id=\"l94BjXoTGTb-h##Ng4:`\"><field name=\"VARNAME\">rgb1</field><field name=\"COLOR\">#ffffff</field><next><block type=\"rgb_unit_set_brightness\" id=\"#w~zN?9.W*9Ko;*CwO)a\"><field name=\"VARNAME\">rgb1</field><value name=\"BRIGHTNESS\"><shadow type=\"math_number\" id=\"b1V_U7K80vPWpTq:hx!8\"><field name=\"NUM\">200</field></shadow></value></block></next></block></statement><statement name=\"ELSE\"><block type=\"controls_ifelse\" id=\"9DAFzAnq:OTh3:guC{t}\"><value name=\"IF0\"><block type=\"logic_compare\" id=\":WzfxiTUK2O+mx.5@ey4\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"procedures_callreturn\" id=\"[WL0Hz(MOn,U}-rZO,gr\"><mutation name=\"Light Sensor\"></mutation></block></value><value name=\"B\"><block type=\"math_number\" id=\"CZ@=/E]`O)@II[pb*i?a\"><field name=\"NUM\">2</field></block></value></block></value><statement name=\"DO0\"><block type=\"rgb_unit_set_color_all\" id=\"ajo?bEkU!fuHL.PaWFAh\"><field name=\"VARNAME\">rgb1</field><field name=\"COLOR\">#ffffff</field><next><block type=\"rgb_unit_set_brightness\" id=\"jJ^|BkzhnT8CGC$%F;`=\"><field name=\"VARNAME\">rgb1</field><value name=\"BRIGHTNESS\"><shadow type=\"math_number\" id=\"RqFjUpWgL`2Ev`Us![$9\"><field name=\"NUM\">150</field></shadow></value></block></next></block></statement><statement name=\"ELSE\"><block type=\"controls_ifelse\" id=\"g|@!HHk)z~|UHtsboJdJ\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"j?(DVsS,n06LF73Nt5:Z\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"procedures_callreturn\" id=\";}w$Uoz^OP#UB[V-0}!6\"><mutation name=\"Light Sensor\"></mutation></block></value><value name=\"B\"><block type=\"math_number\" id=\"N42(HAsrmUS#7M5m*r1d\"><field name=\"NUM\">3</field></block></value></block></value><statement name=\"DO0\"><block type=\"rgb_unit_set_color_all\" id=\"-FP/tU{C(YJZ+^qYMRUc\"><field name=\"VARNAME\">rgb1</field><field name=\"COLOR\">#ffffff</field><next><block type=\"rgb_unit_set_brightness\" id=\")GK3R^BwF2|g%zMr-;J-\"><field name=\"VARNAME\">rgb1</field><value name=\"BRIGHTNESS\"><shadow type=\"math_number\" id=\"x,8M/~9J$493!wr]j1D9\"><field name=\"NUM\">100</field></shadow></value></block></next></block></statement><statement name=\"ELSE\"><block type=\"controls_ifelse\" id=\";DK$YoiZ!$?)ikSn{0~/\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"1jVm?NvZN+agbTf%~Mt.\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"procedures_callreturn\" id=\"m}.k(x;PukFQ*/*wNXJ9\"><mutation name=\"Light Sensor\"></mutation></block></value><value name=\"B\"><block type=\"math_number\" id=\"4dYh)4wEB?6P!^=Z@}7w\"><field name=\"NUM\">4</field></block></value></block></value><statement name=\"DO0\"><block type=\"rgb_unit_set_color_all\" id=\"qV!$E(-Dc$Ss9=.x8N_a\"><field name=\"VARNAME\">rgb1</field><field name=\"COLOR\">#ffffff</field><next><block type=\"rgb_unit_set_brightness\" id=\"`FB)r+p[KPdc^mGqt%Z-\"><field name=\"VARNAME\">rgb1</field><value name=\"BRIGHTNESS\"><shadow type=\"math_number\" id=\"y/sj@gwf{7{/+m|2W@$R\"><field name=\"NUM\">50</field></shadow></value></block></next></block></statement><statement name=\"ELSE\"><block type=\"controls_if\" id=\"~/skxgNH-A*roQU.Cil[\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"oRNp($N*.WLCQp1qE[47\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"procedures_callreturn\" id=\"Dh@G2VKBZP/r2``8,}SV\"><mutation name=\"Light Sensor\"></mutation></block></value><value name=\"B\"><block type=\"math_number\" id=\".w$2W({cZy^kTG@5NKz8\"><field name=\"NUM\">5</field></block></value></block></value><statement name=\"DO0\"><block type=\"rgb_unit_set_color_all\" id=\"3mICdg)]hl33=4r`CDTh\"><field name=\"VARNAME\">rgb1</field><field name=\"COLOR\">#000000</field><next><block type=\"rgb_unit_set_brightness\" id=\"W=3n,^zC%~YTR0A;cK:*\"><field name=\"VARNAME\">rgb1</field><value name=\"BRIGHTNESS\"><shadow type=\"math_number\" id=\"037dtu:*FnZz:jYPbJt7\"><field name=\"NUM\">0</field></shadow></value></block></next></block></statement></block></statement></block></statement></block></statement></block></statement></block></statement></block><block type=\"procedures_defreturn\" id=\"7soIvurI6a4VMW20[du:\" x=\"1370\" y=\"370\"><field name=\"NAME\">Light Sensor</field><comment pinned=\"false\" h=\"80\" w=\"160\">Detect Light Level</comment><statement name=\"STACK\"><block type=\"controls_ifelse\" id=\".CIZaB29Ktcbh^YKU-Va\"><value name=\"IF0\"><block type=\"logic_compare\" id=\",K.t|{pX~1X2}$MIm~Q^\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"math_number\" id=\"LUwS5Mxqs:t`vLCrJ;9,\"><field name=\"NUM\">400</field></block></value><value name=\"B\"><block type=\"pbhub_analogRead\" id=\"ntg?.WHqhH3=/lgPG5QW\"><field name=\"VARNAME\">pbhub0</field><value name=\"num\"><shadow type=\"math_number\" id=\")#m#_sT:]{@)3})wDVfF\"><field name=\"NUM\">1</field></shadow></value></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"i{{~fB(]*P^f}QmT6T{4\"><field name=\"VAR\" id=\",x?Fa.P$VA*PGYb5?hW3\">LIGHT</field><value name=\"VALUE\"><block type=\"math_number\" id=\"N!DA)+Pk2YeVS24Tgd!@\"><field name=\"NUM\">5</field></block></value></block></statement><statement name=\"ELSE\"><block type=\"controls_ifelse\" id=\"6AjIw#:,r9~;eP(v2}k~\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"#BPt8,E_Wwk7cSu2(^)W\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"math_number\" id=\"5Gg3Kn`{bFI[Vb:R={_8\"><field name=\"NUM\">500</field></block></value><value name=\"B\"><block type=\"pbhub_analogRead\" id=\"6wu1%}0t|`:nVoJk;26w\"><field name=\"VARNAME\">pbhub0</field><value name=\"num\"><shadow type=\"math_number\" id=\"lwgHhG6=VjP+5cJf.m]Q\"><field name=\"NUM\">1</field></shadow></value></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"kdw3=i:29O]zb8N*k@Eq\"><field name=\"VAR\" id=\",x?Fa.P$VA*PGYb5?hW3\">LIGHT</field><value name=\"VALUE\"><block type=\"math_number\" id=\"5=}JnY8cj`?J3{n9xT%2\"><field name=\"NUM\">4</field></block></value></block></statement><statement name=\"ELSE\"><block type=\"controls_ifelse\" id=\"y1t(v}oVNp79}_Xb~o[J\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"J7dP+QfM8aHp(J(t7Rg.\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"math_number\" id=\"pAl:;4nY:`!-q9~[NFpa\"><field name=\"NUM\">600</field></block></value><value name=\"B\"><block type=\"pbhub_analogRead\" id=\"?r:JU-7;2OHH*uHwN6gD\"><field name=\"VARNAME\">pbhub0</field><value name=\"num\"><shadow type=\"math_number\" id=\"Y28,JH}I2sR;80$0-KTi\"><field name=\"NUM\">1</field></shadow></value></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"rn=LrTe$AfcUP,w/#:WV\"><field name=\"VAR\" id=\",x?Fa.P$VA*PGYb5?hW3\">LIGHT</field><value name=\"VALUE\"><block type=\"math_number\" id=\"d!hvBA#PUE%G)o6E)@mn\"><field name=\"NUM\">3</field></block></value></block></statement><statement name=\"ELSE\"><block type=\"controls_ifelse\" id=\";CLy^r=etU@Mq*JP?bYT\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"o[n2B6boO50MsX=4+bJc\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"math_number\" id=\"TS[re0PTK^$ccMvtn/BA\"><field name=\"NUM\">700</field></block></value><value name=\"B\"><block type=\"pbhub_analogRead\" id=\"ekR]y^Iii];/nu=%yp_h\"><field name=\"VARNAME\">pbhub0</field><value name=\"num\"><shadow type=\"math_number\" id=\"UV-EiWE%7(5y3WOQ_[fs\"><field name=\"NUM\">1</field></shadow></value></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\")2j_4]T(4{qq=afSdKrl\"><field name=\"VAR\" id=\",x?Fa.P$VA*PGYb5?hW3\">LIGHT</field><value name=\"VALUE\"><block type=\"math_number\" id=\"-`d[vlcqtIcVvCS0t=UO\"><field name=\"NUM\">2</field></block></value></block></statement><statement name=\"ELSE\"><block type=\"controls_if\" id=\"7m3kbDYgg/MQA_JGJ49]\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"Vt[84)!SntlIW?+}mN}=\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"math_number\" id=\"oa|wNa:w(T?NZJT08j1|\"><field name=\"NUM\">800</field></block></value><value name=\"B\"><block type=\"pbhub_analogRead\" id=\"RoLK-Q%5$vvY-B}l5$8s\"><field name=\"VARNAME\">pbhub0</field><value name=\"num\"><shadow type=\"math_number\" id=\":1Z%JE)3jiO@!ntd$|]8\"><field name=\"NUM\">1</field></shadow></value></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"4+u_Bz0q4.OE;+^XHGF*\"><field name=\"VAR\" id=\",x?Fa.P$VA*PGYb5?hW3\">LIGHT</field><value name=\"VALUE\"><block type=\"math_number\" id=\"7-YP)VYD!osiGMpy!.d4\"><field name=\"NUM\">1</field></block></value></block></statement></block></statement></block></statement></block></statement></block></statement></block></statement><value name=\"RETURN\"><block type=\"variables_get\" id=\"#-@lv5KAMvDmGiZBff^I\"><field name=\"VAR\" id=\",x?Fa.P$VA*PGYb5?hW3\">LIGHT</field></block></value></block>","Blockly.Remotes":[],"modules":["rgb"]}

Credits

Christian Tan

Christian Tan

1 project • 0 followers

Comments

Add projectSign up / Login