We can write the code for this project using MakeCode! If you aren't already familiar with MakeCode, check out this guide to get started, then return here when you're ready.

On start, turn off the Neopixels and put the shades up. In the forever block the light level is checked and the Neopixels are turned on if it's dark enough, or the shades put down if it's bright enough. If it's in between, the lights are turned off and the shades put up.

This guide was first published on Aug 15, 2018. It was last updated on Mar 28, 2024.

This page (Code with MakeCode) was last updated on Mar 08, 2024.

Text editor powered by tinymce.