24 lines
318 B
Markdown
24 lines
318 B
Markdown
|
## Sequencing commands
|
||
|
|
||
|
By calling one function after another, you can create an animation:
|
||
|
|
||
|
```typescript
|
||
|
basic.showLeds(`
|
||
|
. # . # .
|
||
|
. . . . .
|
||
|
. . # . .
|
||
|
# . . . #
|
||
|
. # # # .
|
||
|
`)
|
||
|
basic.showLeds(`
|
||
|
. # . # .
|
||
|
. . . . .
|
||
|
. . . . .
|
||
|
. # # # .
|
||
|
# . . . #
|
||
|
`)
|
||
|
```
|
||
|
|
||
|
## The Semicolon
|
||
|
|