2016-12-01 22:08:01 +08:00
|
|
|
package raspi
|
|
|
|
|
|
|
|
var pins = map[string]map[string]int{
|
2017-03-28 02:10:37 +08:00
|
|
|
"3": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"1": 0,
|
|
|
|
"2": 2,
|
|
|
|
"3": 2,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"5": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"1": 1,
|
|
|
|
"2": 3,
|
|
|
|
"3": 3,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"7": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"*": 4,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"8": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"*": 14,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"10": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"*": 15,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"11": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"*": 17,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"12": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"*": 18,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"13": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"1": 21,
|
|
|
|
"2": 27,
|
|
|
|
"3": 27,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"15": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"*": 22,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"16": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"*": 23,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"18": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"*": 24,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"19": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"*": 10,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"21": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"*": 9,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"22": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"*": 25,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"23": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"*": 11,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"24": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"*": 8,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"26": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"*": 7,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"29": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"3": 5,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"31": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"3": 6,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"32": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"3": 12,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"33": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"3": 13,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"35": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"3": 19,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"36": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"3": 16,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"37": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"3": 26,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"38": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"3": 20,
|
|
|
|
},
|
2017-03-28 02:10:37 +08:00
|
|
|
"40": {
|
2016-12-01 22:08:01 +08:00
|
|
|
"3": 21,
|
|
|
|
},
|
|
|
|
}
|