adding loc annotations
This commit is contained in:
parent
ecbf8409ea
commit
c75e77593a
@ -73,6 +73,8 @@
|
||||
"PinPullMode.PullDown|block": "down",
|
||||
"PinPullMode.PullNone|block": "none",
|
||||
"PinPullMode.PullUp|block": "up",
|
||||
"PulseValue.High|block": "high",
|
||||
"PulseValue.Low|block": "low",
|
||||
"Rotation.Pitch|block": "pitch",
|
||||
"Rotation.Roll|block": "roll",
|
||||
"String.charAt|block": "char from %this|at %pos",
|
||||
|
2
libs/core/enums.d.ts
vendored
2
libs/core/enums.d.ts
vendored
@ -275,7 +275,9 @@ declare namespace led {
|
||||
|
||||
|
||||
declare enum PulseValue {
|
||||
//% block=high
|
||||
High = 4, // MICROBIT_PIN_EVT_PULSE_HI
|
||||
//% block=low
|
||||
Low = 5, // MICROBIT_PIN_EVT_PULSE_LO
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,9 @@ enum class AnalogPin {
|
||||
};
|
||||
|
||||
enum class PulseValue {
|
||||
//% block=high
|
||||
High = MICROBIT_PIN_EVT_PULSE_HI,
|
||||
//% block=low
|
||||
Low = MICROBIT_PIN_EVT_PULSE_LO
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user