pxt-calliope/docs/examples/rando.md
2020-08-19 22:03:58 +02:00

9 lines
156 B
Markdown

# Rando
Generate a random coordinate and display it on the LED screen.
```blocks
basic.forever(() => {
led.toggle(randint(0, 4), randint(0, 4))
})
```