Challenge 2b
- Use the sample program at the end of the last session, but vary the step size. See which step size gives you the best dimming effect.
- You can also add Wait times
- The simple program runs the dimmer effect forward, and then the light abruptly shuts off. So, extend the program to run the dimmer effect in reverse as well.
- Make the dimming effect pulsate contiuously like this:
Another simple way to get this done is by using a graphical slider. Just change the variable's UI mode on the mBlock Stage.