pxt-calliope/docs/examples/rando.md
2018-04-21 10:52:09 -07:00

164 B

Rando

Generate a random coordinate and display it on the LED screen.

basic.forever(() => {
    led.toggle(Math.randomInt(5), Math.randomInt(5))
})