batch replace onButtonPressed(Button...
This commit is contained in:
1 parent
1f7e0b0f79
commit
850c313c5d
68 files changed
+187
-187
No files matched your search
@@ -30,7 +30,7 @@ basic.showAnimation(`
|
||||
# . . . # . . . . .
|
||||
. # # # . . . . . .
|
||||
`, 400)
|
||||
input.onButtonPressed("A", () => {
|
||||
input.onButtonPressed(Button.A, () => {
|
||||
}) // ***
|
||||
```
|
||||
|
||||
@@ -48,7 +48,7 @@ basic.showAnimation(`
|
||||
# . . . # . . . . .
|
||||
. # # # . . . . . .
|
||||
`, 400)
|
||||
input.onButtonPressed("A", () => {
|
||||
input.onButtonPressed(Button.A, () => {
|
||||
basic.showLeds(`
|
||||
. # . # .
|
||||
. # . # .
|
||||
|
||||
Reference in new issue
Block a user