finished updated lessons
This commit is contained in:
@ -10,7 +10,7 @@ Answers may vary but a variable is a place where you can store and retrieve data
|
||||
|
||||
## 2. Draw the stored value for the variable called count
|
||||
|
||||
```
|
||||
```blocks
|
||||
let count = 0
|
||||
```
|
||||
|
||||
@ -22,7 +22,7 @@ We create a **variable**, `count` to keep track of the current count. The number
|
||||
|
||||
## 3. Draw which LEDs are ON after running this code and pressing button "A" once. Explain you chose to draw that number
|
||||
|
||||
```
|
||||
```blocks
|
||||
let count_ = 0
|
||||
input.onButtonPressed("A", () => {
|
||||
count_ = count_ + 1
|
||||
@ -38,7 +38,7 @@ We are only pressing on button pressed once. So the number to display on the mic
|
||||
|
||||
## 4. Draw which LEDs are ON after running this code and pressing button "A" three times. Explain you chose to draw that number
|
||||
|
||||
```
|
||||
```blocks
|
||||
count_ = 0
|
||||
input.onButtonPressed("A", () => {
|
||||
count_ = count_ + 1
|
||||
|
Reference in New Issue
Block a user