Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- control.inBackground(() => {
- while (true) {
- led.plot(0, 0)
- basic.pause(100)
- led.unplot(0, 0)
- basic.pause(100)
- }
- })
- control.inBackground(() => {
- while (true) {
- led.plot(1, 0)
- basic.pause(300)
- led.unplot(1, 0)
- basic.pause(300)
- }
- })
- control.inBackground(() => {
- while (true) {
- led.plot(2, 0)
- basic.pause(200)
- led.unplot(2, 0)
- basic.pause(200)
- }
- })
- control.inBackground(() => {
- while (true) {
- led.plot(0, 1)
- basic.pause(500)
- led.unplot(0, 1)
- basic.pause(500)
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment