Night light

If it is dark out, turn on the LED. If it is bright out, turn off the LED.

Method 1 Using the generic sensor block

https://code.gogoboard.org/#/program/773a289e-a904-4218-b41b-0fac2a48c08d

Method 2 Using the “define” block to create a new “dark” condition

https://code.gogoboard.org/#/program/e9066e2b-c4f8-490b-a963-54937341e2d0