pxt-calliope/docs/js/sequence.md

26 lines
334 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
2016-07-03 00:27:49 +02:00
Coming soon...