33 lines
385 B
Go
33 lines
385 B
Go
package jetson
|
|
|
|
var gpioPins = map[string]int{
|
|
"7": 216,
|
|
"11": 50,
|
|
"12": 79,
|
|
"13": 14,
|
|
"15": 194,
|
|
"16": 232,
|
|
"18": 15,
|
|
"19": 16,
|
|
"21": 17,
|
|
"22": 13,
|
|
"23": 18,
|
|
"24": 19,
|
|
"26": 20,
|
|
"29": 149,
|
|
"31": 200,
|
|
"32": 168,
|
|
"33": 38,
|
|
"35": 76,
|
|
"36": 51,
|
|
"37": 12,
|
|
"38": 77,
|
|
"40": 78,
|
|
}
|
|
|
|
// pin to pwm channel (pwm0, pwm2)
|
|
var pwmPins = map[string]int{
|
|
"32": 0,
|
|
"33": 2,
|
|
}
|