pxt-calliope/docs/js/seqeunce.md

24 lines
318 B
Markdown
Raw Normal View History

2016-07-02 16:18:39 +02:00
## Sequencing commands
By calling one function after another, you can create an animation:
```typescript
basic.showLeds(`
. # . # .
. . . . .
. . # . .
# . . . #
. # # # .
`)
basic.showLeds(`
. # . # .
. . . . .
. . . . .
. # # # .
# . . . #
`)
```
## The Semicolon