@@ -27,8 +27,8 @@ extern "C" {
2727 * Pins
2828 *----------------------------------------------------------------------------*/
2929
30- #define PA3 0 // Z_PROBE_A ADC
31- #define PA2 1 // PWRMON ADC ADC
30+ #define PA3 A0 // Z_PROBE_A ADC
31+ #define PA2 A1 // PWRMON ADC ADC
3232#define PA10 2 // USART1_RX
3333#define PB3 3 // E1_DIAG
3434#define PB5 4 // N.C.
@@ -55,8 +55,8 @@ extern "C" {
5555#define PC15 25 // E2_CS
5656#define PH0 26 // OSC_IN
5757#define PH1 27 // OSC_OUT
58- #define PC2 28 // THERM2_ADC ADC
59- #define PC3 29 // THERM3_ADC ADC
58+ #define PC2 A4 // THERM2_ADC ADC
59+ #define PC3 A5 // THERM3_ADC ADC
6060#define PC11 30 // LCD_RS
6161#define PD2 31 // LCD_D6
6262#define PC9 32 // BEEPER
@@ -109,14 +109,13 @@ extern "C" {
109109#define PA1 79 // F2_PWM or serial
110110#define PA4 80 // Z_PROBE_D
111111#define PB0 81 // E1_CS
112- #define PC1 82 // THERM1_ADC ADC
113- #define PC0 83 // THERM0_ADC ADC
112+ #define PC1 A2 // THERM1_ADC ADC
113+ #define PC0 A3 // THERM0_ADC ADC
114114
115115// This must be a literal
116- #define NUM_DIGITAL_PINS 98
116+ #define NUM_DIGITAL_PINS 84
117117// This must be a literal with a value less than or equal to to MAX_ANALOG_INPUTS
118118#define NUM_ANALOG_INPUTS 6
119- #define NUM_ANALOG_FIRST 84
120119
121120// On-board LED pin number
122121#define LED_BUILTIN PB14
0 commit comments