machine/samd51: correct channel init and pin map for ADC based on ItsyBitsy-M4

Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
Ron Evans
2019-10-28 10:09:17 +01:00
committed by Ayke
parent 3ec94a06ed
commit 41df9648a8
2 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ const (
// Analog pins
const (
A0 = PA02 // ADC/AIN[0]
A1 = PB05 // ADC/AIN[2]
A1 = PA05 // ADC/AIN[2]
A2 = PB08 // ADC/AIN[3]
A3 = PB09 // ADC/AIN[4]
A4 = PA04 // ADC/AIN[5]