64471a53f9
* undo buttonEvent * fetch microbit v2.2.30 Co-authored-by: Amerlander <gitkraken@juriwolf.de>
9 lines
174 B
Markdown
9 lines
174 B
Markdown
# Rando
|
|
|
|
Generate a random coordinate and display it on the LED screen.
|
|
|
|
```blocks
|
|
basic.forever(() => {
|
|
led.toggle(Math.randomRange(0, 4), Math.randomRange(0, 4))
|
|
})
|
|
``` |