refresh all strings
This commit is contained in:
parent
17b5cb71cb
commit
f5e1e238f2
@ -439,6 +439,7 @@
|
|||||||
"input.runningTimeMicros": "Gets the number of microseconds elapsed since power on.",
|
"input.runningTimeMicros": "Gets the number of microseconds elapsed since power on.",
|
||||||
"input.setAccelerometerRange": "Sets the accelerometer sample range in gravities.",
|
"input.setAccelerometerRange": "Sets the accelerometer sample range in gravities.",
|
||||||
"input.setAccelerometerRange|param|range": "a value describe the maximum strengh of acceleration measured",
|
"input.setAccelerometerRange|param|range": "a value describe the maximum strengh of acceleration measured",
|
||||||
|
"input.soundLevel": "gets the level of loudness in 0-100%",
|
||||||
"input.temperature": "Gets the temperature in Celsius degrees (°C).",
|
"input.temperature": "Gets the temperature in Celsius degrees (°C).",
|
||||||
"led": "Control of the LED screen.",
|
"led": "Control of the LED screen.",
|
||||||
"led.brightness": "Get the screen brightness from 0 (off) to 255 (full bright).",
|
"led.brightness": "Get the screen brightness from 0 (off) to 255 (full bright).",
|
||||||
|
@ -327,6 +327,7 @@
|
|||||||
"input.runningTimeMicros|block": "running time (micros)",
|
"input.runningTimeMicros|block": "running time (micros)",
|
||||||
"input.runningTime|block": "running time (ms)",
|
"input.runningTime|block": "running time (ms)",
|
||||||
"input.setAccelerometerRange|block": "set accelerometer|range %range",
|
"input.setAccelerometerRange|block": "set accelerometer|range %range",
|
||||||
|
"input.soundLevel|block": "Loudness",
|
||||||
"input.temperature|block": "temperature (°C)",
|
"input.temperature|block": "temperature (°C)",
|
||||||
"input|block": "input",
|
"input|block": "input",
|
||||||
"led.brightness|block": "brightness",
|
"led.brightness|block": "brightness",
|
||||||
|
2
libs/core/enums.d.ts
vendored
2
libs/core/enums.d.ts
vendored
@ -470,10 +470,8 @@ declare namespace motors {
|
|||||||
|
|
||||||
|
|
||||||
declare const enum AnalogPin {
|
declare const enum AnalogPin {
|
||||||
P0 = 112, // MICROBIT_ID_IO_P12
|
|
||||||
P1 = 100, // MICROBIT_ID_IO_P0
|
P1 = 100, // MICROBIT_ID_IO_P0
|
||||||
P2 = 101, // MICROBIT_ID_IO_P1
|
P2 = 101, // MICROBIT_ID_IO_P1
|
||||||
P3 = 116, // MICROBIT_ID_IO_P16
|
|
||||||
C4 = 103, // MICROBIT_ID_IO_P3
|
C4 = 103, // MICROBIT_ID_IO_P3
|
||||||
C5 = 104, // MICROBIT_ID_IO_P4
|
C5 = 104, // MICROBIT_ID_IO_P4
|
||||||
C6 = 110, // MICROBIT_ID_IO_P10
|
C6 = 110, // MICROBIT_ID_IO_P10
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
"input": "Events and data from sensors",
|
"input": "Events and data from sensors",
|
||||||
"input.onLoudSound": "Registers an event that runs when a loud sound is detected",
|
"input.onLoudSound": "Registers an event that runs when a loud sound is detected",
|
||||||
"input.setLoudSoundThreshold": "Sets the minimum threshold for a loud sound",
|
"input.setLoudSoundThreshold": "Sets the minimum threshold for a loud sound",
|
||||||
"input.soundLevel": "Reads the loudness through the microphone from 0 (silent) to 255 (loud)"
|
"input.soundLevel": "gets the level of loudness in 0-100%\n\nReads the loudness through the microphone from 0 (silent) to 255 (loud)"
|
||||||
}
|
}
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -405,6 +405,7 @@
|
|||||||
"version": "2.10.1",
|
"version": "2.10.1",
|
||||||
"resolved": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz",
|
"resolved": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz",
|
||||||
"integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=",
|
"integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=",
|
||||||
|
"optional": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"hoek": "2.x.x"
|
"hoek": "2.x.x"
|
||||||
}
|
}
|
||||||
@ -2095,7 +2096,8 @@
|
|||||||
"hoek": {
|
"hoek": {
|
||||||
"version": "2.16.3",
|
"version": "2.16.3",
|
||||||
"resolved": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz",
|
"resolved": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz",
|
||||||
"integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0="
|
"integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=",
|
||||||
|
"optional": true
|
||||||
},
|
},
|
||||||
"hsl-regex": {
|
"hsl-regex": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user