UNPKG
pxt-raspberypi
Version:
latest (2.0.2)
2.0.2
sample target for PXT
github.com/gormantec/pxt-raspberypi
gormantec/pxt-raspberypi
pxt-raspberypi
/
docs
/
examples
/
square.md
12 lines
(10 loc)
•
178 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
# Square
A
simple example ```blocks loops
.forever
(function () { for (let i =
0
; i <
4
; i++) { turtle
.forward
(
1
) turtle
.turn
(Direction.Left,
90
) } }) ```