removed linking between projects
This commit is contained in:
parent
5e9eec61c5
commit
091917b765
@ -1,11 +1,5 @@
|
|||||||
# banana keyboard blocks challenges
|
# banana keyboard blocks challenges
|
||||||
|
|
||||||
control images with variables.
|
|
||||||
|
|
||||||
## Before we get started
|
|
||||||
|
|
||||||
Control images with variables.
|
|
||||||
|
|
||||||
Have you ever tried to making beat box sounds? Let's try making a beatbox with code!
|
Have you ever tried to making beat box sounds? Let's try making a beatbox with code!
|
||||||
|
|
||||||
We will register an event handler on the fruit that will execute when two things occur: first, the alligator clip attaches to GND and the other side of the alligator clip is inserted into a banana. Let's start by adding a variable where you can store data. Then rename the variable to "sound". Then set the value of the variable to the note block `A` from the Music drawer. Modify your code so that your code looks like this.
|
We will register an event handler on the fruit that will execute when two things occur: first, the alligator clip attaches to GND and the other side of the alligator clip is inserted into a banana. Let's start by adding a variable where you can store data. Then rename the variable to "sound". Then set the value of the variable to the note block `A` from the Music drawer. Modify your code so that your code looks like this.
|
||||||
@ -35,7 +29,7 @@ input.onPinPressed(TouchPin.P1, () => {
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
* click *run* to see if the code works as expected.
|
* click *Download* to see if the code works as expected.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -57,8 +51,4 @@ input.onPinPressed(TouchPin.P2, () => {
|
|||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
* click *run* to see if the code works as expected.
|
* click *Download* to see if the code works as expected.
|
||||||
|
|
||||||
### ~button /projects/telegraph
|
|
||||||
NEXT: Telegraph
|
|
||||||
### ~
|
|
||||||
|
@ -103,7 +103,3 @@ basic.forever(() => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
### ~button /projects/hack-your-headphones
|
|
||||||
NEXT: Hack Your Headphones
|
|
||||||
### ~
|
|
@ -113,7 +113,3 @@ basic.clearScreen();
|
|||||||
basic.pause(500);
|
basic.pause(500);
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
### ~button /projects/smiley-buttons
|
|
||||||
NEXT: Smiley Buttons
|
|
||||||
### ~
|
|
@ -70,7 +70,3 @@ input.onButtonPressed(Button.A, () => {
|
|||||||
```
|
```
|
||||||
|
|
||||||
* click **Download** and run your code on the micro:bit.
|
* click **Download** and run your code on the micro:bit.
|
||||||
|
|
||||||
### ~button /projects/banana-keyboard
|
|
||||||
NEXT: Banana Keyboard
|
|
||||||
### ~
|
|
@ -48,7 +48,3 @@ input.onPinPressed(TouchPin.P2, () => {
|
|||||||
`);
|
`);
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
### ~button /projects/rock-paper-scissors
|
|
||||||
NEXT: Rock Paper Scissors
|
|
||||||
### ~
|
|
@ -89,10 +89,6 @@ Have fun reviewing your simulation and analyze the acceleration by chart the Exc
|
|||||||
* Review and analyze the actual micro:bit device acceleration data on Excel
|
* Review and analyze the actual micro:bit device acceleration data on Excel
|
||||||
* Display acceleration with y or z using plot bar graph by changing acceleration from "x" to "y" or "z"
|
* Display acceleration with y or z using plot bar graph by changing acceleration from "x" to "y" or "z"
|
||||||
|
|
||||||
### ~button /projects/the-watch
|
|
||||||
NEXT: The Watch
|
|
||||||
### ~
|
|
||||||
|
|
||||||
```package
|
```package
|
||||||
microbit-radio
|
microbit-radio
|
||||||
```
|
```
|
||||||
|
@ -236,6 +236,3 @@ input.onButtonPressed(Button.B, () => {
|
|||||||
How else can you make your game better?
|
How else can you make your game better?
|
||||||
Ever hear of [Rock Paper Scissors Spock Lizard](http://www.samkass.com/theories/RPSSL.html)?
|
Ever hear of [Rock Paper Scissors Spock Lizard](http://www.samkass.com/theories/RPSSL.html)?
|
||||||
|
|
||||||
### ~button /projects/compass
|
|
||||||
NEXT: Compass
|
|
||||||
### ~
|
|
@ -67,7 +67,3 @@ input.onButtonPressed(Button.B, () => {
|
|||||||
. # # # .`);
|
. # # # .`);
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
### ~button /projects/love-meter
|
|
||||||
NEXT: Love Meter
|
|
||||||
### ~
|
|
@ -108,7 +108,3 @@ Your telegraph is ready!
|
|||||||
* Connect the first micro:bit to your computer using your USB cable and put the telegraph script on it.
|
* Connect the first micro:bit to your computer using your USB cable and put the telegraph script on it.
|
||||||
* Connect the second micro:bit to your computer using your USB cable and run the telegraph script on it.
|
* Connect the second micro:bit to your computer using your USB cable and run the telegraph script on it.
|
||||||
* The first person and second person take turns pressing button A to play the telegraph game!
|
* The first person and second person take turns pressing button A to play the telegraph game!
|
||||||
|
|
||||||
### ~button /projects/radio
|
|
||||||
NEXT: Radio
|
|
||||||
### ~
|
|
Loading…
Reference in New Issue
Block a user