You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
D031=P0_31// AIN7; P0.31 (AIN7) is used to read the voltage of the battery via ADC. It can’t be used for any other function.
21
+
D012=P0_12// VCC 3.3V; P0.12 on VCC shuts off the power to VCC when you set it to high; This saves on battery immensely for LEDs of all kinds that eat power even when off
22
+
23
+
D030=P0_30
24
+
D026=P0_26
25
+
D029=P0_29
26
+
D002=P0_02
27
+
D113=P1_13
28
+
D003=P0_03
29
+
D028=P0_28
30
+
D111=P1_11
31
+
)
32
+
33
+
// Analog Pins
34
+
const (
35
+
AIN0=P0_02
36
+
AIN1=P0_03
37
+
AIN2=P0_04// Not Connected
38
+
AIN3=P0_05// Not Connected
39
+
AIN4=P0_28
40
+
AIN5=P0_29
41
+
AIN6=P0_30
42
+
AIN7=P0_31// Battery
43
+
)
44
+
45
+
const (
46
+
LED1Pin=P1_04// Red LED
47
+
LED2Pin=P1_10// Blue LED
48
+
LEDPin=LED1
49
+
)
50
+
51
+
// UART0 pins (logical UART1) - Maps to same location as Pro Micro
0 commit comments