gesture updates

This commit is contained in:
Matthias L. Jugel 2016-10-18 16:40:53 +02:00
parent f10ac93268
commit e7e2ff7752
2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
basic.showString("RGB LED")
basic.showString("RGB")
basic.setLedColor(Colors.Blue)
basic.pause(500)
basic.setLedColor(Colors.Red)
@ -8,7 +8,7 @@ basic.pause(500)
basic.setLedColor(Colors.Violet)
basic.pause(500)
basic.setLedColor(0);
basic.showString("Gestures")
basic.showString("Gesten")
input.onGesture(Gesture.Shake, () => {
basic.showString("S")
})

1
libs/core/dal.d.ts vendored
View File

@ -427,7 +427,6 @@ declare const enum DAL {
MICROBIT_ACCELEROMETER_FREEFALL_TOLERANCE = 400,
MICROBIT_ACCELEROMETER_SHAKE_TOLERANCE = 400,
MICROBIT_ACCELEROMETER_2G_TOLERANCE = 2048,
MICROBIT_ACCELEROMETER_3G_TOLERANCE = 3072,
MICROBIT_ACCELEROMETER_6G_TOLERANCE = 6144,
MICROBIT_ACCELEROMETER_8G_TOLERANCE = 8192,
MICROBIT_ACCELEROMETER_GESTURE_DAMPING = 5,