pxt-calliope/docs/examples/rando.md
Sam El-Husseini 6f148c14e0 Fix randomInt
2018-06-01 11:42:38 -07:00

174 B

Rando

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

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