Code with MakeCode — image 2 of 2

makecode_br2.jpg
details

Click the LOOPS tblock and find the on start loop.  Drag it out into your workspace.  Anything that we put in this loop will happen just once, when the Circuit Playground first boots up.  

 

Click the LIGHTS block and drag an instance of set brightness into your on start loop.  This will set how bright your lights are.   I chose something not too bright -- 40-60 is pretty good for indoor use.

Back

Search