@@ -40,16 +40,16 @@ extern "C" {
4040
4141// USB connector on the top, MCU side
4242// 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
4848// 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
5353#define PA9 9 //D9 - SCL (TX UART header)
5454#define PA10 10 //D10 - SDA (RX UART header)
5555#define PA13 11 //D11 - SWDIO
@@ -59,10 +59,9 @@ extern "C" {
5959#define PF1 14
6060
6161// This must be a literal with the same value as PEND
62- #define NUM_DIGITAL_PINS 24
62+ #define NUM_DIGITAL_PINS 15
6363// This must be a literal with a value less than or equal to MAX_ANALOG_INPUTS
6464#define NUM_ANALOG_INPUTS 9
65- #define NUM_ANALOG_FIRST 15
6665
6766// On-board LED pin number
6867#define LED_BUILTIN PA4
0 commit comments