@@ -40,16 +40,16 @@ extern "C" {
40
40
41
41
// USB connector on the top, MCU side
42
42
// Left Side
43
- #define PA0 0 //D0/A0
44
- #define PA1 1 //D1/A1
45
- #define PA2 2 //D2/A2 - TX
46
- #define PA3 3 //D3/A3 - RX
47
- #define PA4 4 //D4/A4 - LED
43
+ #define PA0 A0 //D0/A0
44
+ #define PA1 A1 //D1/A1
45
+ #define PA2 A2 //D2/A2 - TX
46
+ #define PA3 A3 //D3/A3 - RX
47
+ #define PA4 A4 //D4/A4 - LED
48
48
// Right side
49
- #define PA5 5 //D5/A5 - SCK
50
- #define PA6 6 //D6/A6 - MISO
51
- #define PA7 7 //D7/A7 - MOSI
52
- #define PB1 8 //D8/A8 - SS
49
+ #define PA5 A5 //D5/A5 - SCK
50
+ #define PA6 A6 //D6/A6 - MISO
51
+ #define PA7 A7 //D7/A7 - MOSI
52
+ #define PB1 A8 //D8/A8 - SS
53
53
#define PA9 9 //D9 - SCL (TX UART header)
54
54
#define PA10 10 //D10 - SDA (RX UART header)
55
55
#define PA13 11 //D11 - SWDIO
@@ -59,10 +59,9 @@ extern "C" {
59
59
#define PF1 14
60
60
61
61
// This must be a literal with the same value as PEND
62
- #define NUM_DIGITAL_PINS 24
62
+ #define NUM_DIGITAL_PINS 15
63
63
// This must be a literal with a value less than or equal to MAX_ANALOG_INPUTS
64
64
#define NUM_ANALOG_INPUTS 9
65
- #define NUM_ANALOG_FIRST 15
66
65
67
66
// On-board LED pin number
68
67
#define LED_BUILTIN PA4
0 commit comments