Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let list: number[] = []
- let value = 0
- list = [0, 1, 2, 3, 4, 14, 24, 34, 44, 43, 42, 41, 40, 30, 20, 10]
- basic.forever(() => {
- for (let value of list) {
- led.plot(value / 10, value % 10)
- basic.pause(100)
- }
- for (let value of list) {
- led.unplot(value / 10, value % 10)
- basic.pause(100)
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment