rename micro:bit to @boardname@
This commit is contained in:
@ -2,9 +2,9 @@
|
||||
|
||||
Play sounds with music blocks.
|
||||
|
||||
Have you ever tried to play a song on an instrument? Let's try coding the song "Happy Birthday" on the micro:bit !
|
||||
Have you ever tried to play a song on an instrument? Let's try coding the song "Happy Birthday" on the @boardname@ !
|
||||
|
||||
Let's start by adding the code in the music drawer that includes a single musical chord (or pitched sound) with the `play` block. Then insert the chord "C". Once you are done coding, don't forget to run your code in the simulator or the micro:bit.
|
||||
Let's start by adding the code in the music drawer that includes a single musical chord (or pitched sound) with the `play` block. Then insert the chord "C". Once you are done coding, don't forget to run your code in the simulator or the @boardname@.
|
||||
|
||||
```blocks
|
||||
music.playTone(music.noteFrequency(Note.C), music.beat(BeatFraction.Quarter));
|
||||
|
@ -100,5 +100,5 @@ music.playTone(music.noteFrequency(Note.F), music.beat(BeatFraction.Quarter));
|
||||
|
||||
### Challenge 3
|
||||
|
||||
You now have a the ability to create music on the micro:bit. Try to code another favourite song.
|
||||
You now have a the ability to create music on the @boardname@. Try to code another favourite song.
|
||||
|
||||
|
Reference in New Issue
Block a user