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
//On the Artemis Mega, what you see is what you get pin-to-pad on the Apollo3
27
+
0,
28
+
1,
29
+
2,
30
+
3,
31
+
4,
32
+
5,
33
+
6,
34
+
7,
35
+
8,
36
+
9,
37
+
10,
38
+
11,
39
+
12,
40
+
13,
41
+
14,
42
+
15,
43
+
16,
44
+
17,
45
+
18,
46
+
19,
47
+
20,
48
+
21,
49
+
22,
50
+
23,
51
+
24,
52
+
25,
53
+
26,
54
+
27,
55
+
28,
56
+
29,
57
+
AP3_GPIO_PAD_UNUSED, //The one pad not broken out of the Apollo3 on the Artemis
58
+
31,
59
+
32,
60
+
33,
61
+
34,
62
+
35,
63
+
36,
64
+
37,
65
+
38,
66
+
39,
67
+
40,
68
+
41,
69
+
42,
70
+
43,
71
+
44,
72
+
45,
73
+
46,
74
+
47,
75
+
48,
76
+
49,
77
+
AP3_ADC_DIFF0_PAD, //50 - Not a real pad, ADC_DIFF0
78
+
AP3_ADC_DIFF1_PAD, //51 - Not a real pad, ADC_DIFF1
79
+
AP3_ADC_TEMP_PAD, //52 - Not a real pad, ADC_TEMP
80
+
AP3_ADC_DIV3_PAD, //53 - Not a real pad, ADC_DIV3
81
+
AP3_ADC_VSS_PAD, //54 - Not a real pad, ADC_VSS
82
+
};
83
+
84
+
// Uart Definitions
85
+
//Serial(instance, RX, TX)
86
+
Uart Serial(0, 49, 48); // Declares a Uart object called Serial using instance 0 of Apollo3 UART peripherals with RX on variant pin 49 and TX on pin 48 (note, you specify *pins* not Apollo3 pads. This uses the variant's pin map to determine the Apollo3 pad)
87
+
Uart Serial1(1, 25, 24); // Declares a Uart object called Serial1 using instance 1 of Apollo3 UART peripherals with RX on pin 25 and TX on pin 24 (note, you specify *pins* not Apollo3 pads. This uses the variant's pin map to determine the Apollo3 pad)
0 commit comments