inserting macros instead of hard coded board names
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
# night light quiz
|
||||
|
||||
change the brightness of the BBC micro:bit.
|
||||
change the brightness of the @boardname@.
|
||||
|
||||
## Name
|
||||
|
||||
@ -12,19 +12,19 @@ Answer the questions while completing the tutorial. Pay attention to the dialogu
|
||||
|
||||
## 1. Describe what "led->set brightness" does ?
|
||||
|
||||
## 2. If the picture below is the BBC micro:bit, write the code that sets all the LEDs to full brightness and turns on all the LEDs
|
||||
## 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
|
||||
|
||||

|
||||
|
||||
<br />
|
||||
|
||||
## 3. If the picture below is the BBC micro:bit, write the code that sets the screen brightness to 50% (128) 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.
|
||||
|
||||

|
||||
|
||||
<br/>
|
||||
|
||||
## 4. If the picture below is the BBC micro:bit, write the code turns off all the LEDs.
|
||||
## 4. If the picture below is the @boardname@, write the code turns off all the LEDs.
|
||||
|
||||

|
||||
|
||||
|
Reference in New Issue
Block a user