418 B
418 B
Turtle Scanner
The turtle scans the display over and over again.
turtle.setPosition(0, 0)
turtle.turnRight()
turtle.setSpeed(20)
basic.forever(() => {
turtle.forward(4)
turtle.turnRight()
turtle.forward(1)
turtle.turnRight()
turtle.forward(4)
turtle.turnLeft()
turtle.forward(1)
turtle.turnLeft()
})
microturtle=github:Microsoft/pxt-microturtle#master