pxt-calliope/docs/examples/rando.md

9 lines
156 B
Markdown
Raw Normal View History

# Rando
Generate a random coordinate and display it on the LED screen.
```blocks
basic.forever(() => {
2020-08-19 22:03:58 +02:00
led.toggle(randint(0, 4), randint(0, 4))
})
```