Chapter 7
Let's Play with
Light and Shadow
In this chapter, we learn
program rero:micro to react to different light levels (using LED matrix display as a light sensor),
get light level readings and determine the average,
use calculations to determine the threshold value.
Activity Code: https://makecode.microbit.org/_5orgRe3K2VzE
Sample Code: https://makecode.microbit.org/_dckXzfh2z0AR