From 69e299a451d7f0cac4bcd63b0ad4aedd48f86e5b Mon Sep 17 00:00:00 2001 From: Pablo Ruggia Date: Thu, 27 Aug 2015 19:59:26 -0700 Subject: [PATCH] Wrong analog input mapping for BeagleBone According to https://github.com/CircuitCo/BeagleBone-Black/raw/master/BBB_SRM.pdf Page 105 these are the right mappings: P9_36 -> AIN5 P9_35 -> AIN6 --- platforms/beaglebone/beaglebone_adaptor.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platforms/beaglebone/beaglebone_adaptor.go b/platforms/beaglebone/beaglebone_adaptor.go index 3e7cb65c..e7c61d97 100644 --- a/platforms/beaglebone/beaglebone_adaptor.go +++ b/platforms/beaglebone/beaglebone_adaptor.go @@ -119,8 +119,8 @@ var analogPins = map[string]string{ "P9_37": "AIN2", "P9_38": "AIN3", "P9_33": "AIN4", - "P8_36": "AIN5", - "P8_35": "AIN6", + "P9_36": "AIN5", + "P9_35": "AIN6", } // BeagleboneAdaptor is the gobot.Adaptor representation for the Beaglebone