forked from blynkkk/boards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Particle-Photon.json
35 lines (35 loc) · 1.01 KB
/
Particle-Photon.json
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
{
"name": "Particle Photon",
"based_on": "https://github.com/spark/firmware/blob/develop/hal/inc/pinmap_hal.h",
"map": {
"digital": {
"pins": {
"D0": 0, "D1": 1, "D2": 2, "D3": 3, "D4": 4,
"D5": 5, "D6": 6, "D7": 7,
"RX": 18, "TX": 19,
"BTN":20
},
"ops": [ "dr", "dw" ]
},
"analog": {
"pins": {
"DAC1": 16, "DAC2": 13, "WKP": 17,
"A0": 10, "A1": 11, "A2": 12, "A3": 13, "A4": 14,
"A5": 15, "A6": 16, "A7": 17
},
"ops": [ "dr", "dw", "ar" ],
"arRange": [0, 4095]
},
"pwm": {
"pins": [
"D0", "D1", "D2", "D3", "A4", "A5", "WKP", "RX", "TX"
],
"ops": [ "aw" ],
"awRange": [0, 255]
},
"virtual": {
"pinsRange": [ 0, 127 ],
"ops": [ "vr", "vw" ]
}
}
}