forked from minodekit/pxt-minode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.d.ts
73 lines (66 loc) · 1.1 KB
/
enums.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// Auto-generated. Do not edit.
declare enum ConnName
{
//% block="A0"
A0 = 0,
//% block="A1"
A1 = 1,
//% block="A2"
A2 = 2,
//% block="D12"
D12 = 12,
//% block="D13"
D13 = 13,
//% block="D14"
D14 = 14,
//% block="D15"
D15 = 15
}
declare enum AnalogConnName
{
//% block="A0"
Analog_A0 = 0,
//% block="A1"
Analog_A1 = 1,
//% block="A2"
Analog_A2 = 2
}
declare enum SwitchEvent
{
//% block="open"
MINODE_SWITCH_EVT_OPEN = 1,
//% block="close"
MINODE_SWITCH_EVT_CLOSE = 2,
}
declare enum FanStatus
{
//% block="open"
MINODE_FAN_OPEN = 1,
//% block="close"
MINODE_FAN_CLOSE = 2,
}
declare enum DHTTemStyle
{
//% block="Celsius"
MINODE_DHT_CELSIUS = 1,
//% block="Fahrenheit"
MINODE_FAN_FAHRENHEIT = 2,
}
declare enum MiNodeColor
{
//% block="Red"
MiNode_RGB_COLOR_RED = 0,
//% block="Green"
MiNode_RGB_COLOR_GREEN = 1,
//% block="Blue"
MiNode_RGB_COLOR_BLUE = 2,
//% block="Yellow"
MiNode_RGB_COLOR_YELLOW = 3,
//% block="Pink"
MiNode_RGB_COLOR_PINK = 4,
//% block="Cyan"
MiNode_RGB_COLOR_CYAN = 5,
//% block="White"
MiNode_RGB_COLOR_WHITE = 6,
}
// Auto-generated. Do not edit. Really.