@@ -27,8 +27,8 @@ extern "C" {
27
27
* Pins
28
28
*----------------------------------------------------------------------------*/
29
29
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
32
32
#define PA10 2 // USART1_RX
33
33
#define PB3 3 // E1_DIAG
34
34
#define PB5 4 // N.C.
@@ -55,8 +55,8 @@ extern "C" {
55
55
#define PC15 25 // E2_CS
56
56
#define PH0 26 // OSC_IN
57
57
#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
60
60
#define PC11 30 // LCD_RS
61
61
#define PD2 31 // LCD_D6
62
62
#define PC9 32 // BEEPER
@@ -109,14 +109,13 @@ extern "C" {
109
109
#define PA1 79 // F2_PWM or serial
110
110
#define PA4 80 // Z_PROBE_D
111
111
#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
114
114
115
115
// This must be a literal
116
- #define NUM_DIGITAL_PINS 98
116
+ #define NUM_DIGITAL_PINS 84
117
117
// This must be a literal with a value less than or equal to to MAX_ANALOG_INPUTS
118
118
#define NUM_ANALOG_INPUTS 6
119
- #define NUM_ANALOG_FIRST 84
120
119
121
120
// On-board LED pin number
122
121
#define LED_BUILTIN PB14
0 commit comments