This commit is contained in:
Michael Elliot Braun 2016-03-29 15:14:40 -07:00
commit c6e2391bcd
2 changed files with 11 additions and 2 deletions

View File

@ -36,6 +36,14 @@ input.onButtonPressed(Button.A, () => {
# . . . #
. # # # .`);
});
input.onButtonPressed(Button.B, () => {
basic.showLeds(`
. # . # .
# . # . #
# . . . #
. # . # .
. . # . .`);
});
input.onGesture(Gesture.Shake, () => {
basic.showLeds(`
. . . . .
@ -44,6 +52,7 @@ input.onGesture(Gesture.Shake, () => {
. # # # .
# . . . #`);
});
basic.showString("BBC micro:bit");
```
## C++ Runtime

View File

@ -1,6 +1,6 @@
{
"name": "kindscript-microbit",
"version": "0.0.11",
"version": "0.0.14",
"description": "BBC micro:bit target for KindScript",
"keywords": [
"JavaScript",
@ -30,6 +30,6 @@
"typescript": "^1.8.7"
},
"dependencies": {
"kindscript": "0.1.117"
"kindscript": "0.1.119"
}
}