pxt-calliope/docs/lessons/night-light/quiz.md
2016-11-01 10:42:42 -07:00

828 B

night light quiz

change the brightness of the @boardname@.

Name

Directions

Use this activity document to guide your work in the night light tutorial

Answer the questions while completing the tutorial. Pay attention to the dialogues!

1. Describe what "led->set brightness" does ?

2. If the picture below is the @boardname@, write the code that sets all the LEDs to full brightness and turns on all the LEDs


3. If the picture below is the @boardname@, write the code that sets the screen brightness to 50% (128) and turns on all the LEDs.


4. If the picture below is the @boardname@, write the code turns off all the LEDs.