diff --git a/variants/esp32/pins_arduino.h b/variants/esp32/pins_arduino.h index 7b29ac2e..c0c1d593 100644 --- a/variants/esp32/pins_arduino.h +++ b/variants/esp32/pins_arduino.h @@ -3,12 +3,15 @@ #define EXTERNAL_NUM_INTERRUPTS 16 #define NUM_DIGITAL_PINS 40 -#define NUM_ANALOG_INPUTS 18 +#define NUM_ANALOG_INPUTS 16 #define analogInputToDigitalPin(p) #define digitalPinToInterrupt(p) (((p)<40)?(p):-1) #define digitalPinHasPWM(p) (p < 34) +static const uint8_t TX = 1; +static const uint8_t RX = 3; + static const uint8_t SDA = 21; static const uint8_t SCL = 22; @@ -17,4 +20,35 @@ static const uint8_t MOSI = 23; static const uint8_t MISO = 19; static const uint8_t SCK = 18; -#endif /* Pins_Arduino_h */ \ No newline at end of file +static const uint8_t A0 = 36; +static const uint8_t A3 = 39; +static const uint8_t A4 = 32; +static const uint8_t A5 = 33; +static const uint8_t A6 = 34; +static const uint8_t A7 = 35; +static const uint8_t A10 = 4; +static const uint8_t A11 = 0; +static const uint8_t A12 = 2; +static const uint8_t A13 = 15; +static const uint8_t A14 = 13; +static const uint8_t A15 = 12; +static const uint8_t A16 = 14; +static const uint8_t A17 = 27; +static const uint8_t A18 = 25; +static const uint8_t A19 = 26; + +static const uint8_t T0 = 4; +static const uint8_t T1 = 0; +static const uint8_t T2 = 2; +static const uint8_t T3 = 15; +static const uint8_t T4 = 13; +static const uint8_t T5 = 12; +static const uint8_t T6 = 14; +static const uint8_t T7 = 27; +static const uint8_t T8 = 33; +static const uint8_t T9 = 32; + +static const uint8_t DAC1 = 25; +static const uint8_t DAC2 = 26; + +#endif /* Pins_Arduino_h */ diff --git a/variants/espea32/pins_arduino.h b/variants/espea32/pins_arduino.h index ab545e8e..628c2559 100644 --- a/variants/espea32/pins_arduino.h +++ b/variants/espea32/pins_arduino.h @@ -3,7 +3,7 @@ #define EXTERNAL_NUM_INTERRUPTS 16 #define NUM_DIGITAL_PINS 40 -#define NUM_ANALOG_INPUTS 18 +#define NUM_ANALOG_INPUTS 16 #define analogInputToDigitalPin(p) #define digitalPinToInterrupt(p) (((p)<40)?(p):-1) @@ -11,12 +11,46 @@ #define LED_BUILTIN 5 +static const uint8_t TX = 1; +static const uint8_t RX = 3; + static const uint8_t SDA = 21; static const uint8_t SCL = 22; -static const uint8_t SS = 5; +static const uint8_t SS = 2; static const uint8_t MOSI = 23; static const uint8_t MISO = 19; static const uint8_t SCK = 18; +static const uint8_t A0 = 36; +static const uint8_t A3 = 39; +static const uint8_t A4 = 32; +static const uint8_t A5 = 33; +static const uint8_t A6 = 34; +static const uint8_t A7 = 35; +static const uint8_t A10 = 4; +static const uint8_t A11 = 0; +static const uint8_t A12 = 2; +static const uint8_t A13 = 15; +static const uint8_t A14 = 13; +static const uint8_t A15 = 12; +static const uint8_t A16 = 14; +static const uint8_t A17 = 27; +static const uint8_t A18 = 25; +static const uint8_t A19 = 26; + +static const uint8_t T0 = 4; +static const uint8_t T1 = 0; +static const uint8_t T2 = 2; +static const uint8_t T3 = 15; +static const uint8_t T4 = 13; +static const uint8_t T5 = 12; +static const uint8_t T6 = 14; +static const uint8_t T7 = 27; +static const uint8_t T8 = 33; +static const uint8_t T9 = 32; + +static const uint8_t DAC1 = 25; +static const uint8_t DAC2 = 26; + #endif /* Pins_Arduino_h */ diff --git a/variants/lolin32/pins_arduino.h b/variants/lolin32/pins_arduino.h index a266ca86..149cf2a0 100644 --- a/variants/lolin32/pins_arduino.h +++ b/variants/lolin32/pins_arduino.h @@ -3,7 +3,7 @@ #define EXTERNAL_NUM_INTERRUPTS 16 #define NUM_DIGITAL_PINS 40 -#define NUM_ANALOG_INPUTS 18 +#define NUM_ANALOG_INPUTS 16 #define analogInputToDigitalPin(p) #define digitalPinToInterrupt(p) (((p)<40)?(p):-1) @@ -12,12 +12,46 @@ #define LED_BUILTIN 2 #define KEY_BUILTIN 0 +static const uint8_t TX = 1; +static const uint8_t RX = 3; + static const uint8_t SDA = 21; static const uint8_t SCL = 22; -static const uint8_t SS = 5; +static const uint8_t SS = 2; static const uint8_t MOSI = 23; static const uint8_t MISO = 19; static const uint8_t SCK = 18; -#endif /* Pins_Arduino_h */ \ No newline at end of file +static const uint8_t A0 = 36; +static const uint8_t A3 = 39; +static const uint8_t A4 = 32; +static const uint8_t A5 = 33; +static const uint8_t A6 = 34; +static const uint8_t A7 = 35; +static const uint8_t A10 = 4; +static const uint8_t A11 = 0; +static const uint8_t A12 = 2; +static const uint8_t A13 = 15; +static const uint8_t A14 = 13; +static const uint8_t A15 = 12; +static const uint8_t A16 = 14; +static const uint8_t A17 = 27; +static const uint8_t A18 = 25; +static const uint8_t A19 = 26; + +static const uint8_t T0 = 4; +static const uint8_t T1 = 0; +static const uint8_t T2 = 2; +static const uint8_t T3 = 15; +static const uint8_t T4 = 13; +static const uint8_t T5 = 12; +static const uint8_t T6 = 14; +static const uint8_t T7 = 27; +static const uint8_t T8 = 33; +static const uint8_t T9 = 32; + +static const uint8_t DAC1 = 25; +static const uint8_t DAC2 = 26; + +#endif /* Pins_Arduino_h */ diff --git a/variants/nano32/pins_arduino.h b/variants/nano32/pins_arduino.h index a7521dcb..f3f00cb1 100644 --- a/variants/nano32/pins_arduino.h +++ b/variants/nano32/pins_arduino.h @@ -3,7 +3,7 @@ #define EXTERNAL_NUM_INTERRUPTS 16 #define NUM_DIGITAL_PINS 38 -#define NUM_ANALOG_INPUTS 18 +#define NUM_ANALOG_INPUTS 16 #define analogInputToDigitalPin(p) #define digitalPinToInterrupt(p) (((p)<40)?(p):-1) @@ -11,12 +11,46 @@ #define LED_BUILTIN 16 +static const uint8_t TX = 1; +static const uint8_t RX = 3; + static const uint8_t SDA = 21; static const uint8_t SCL = 22; -static const uint8_t SS = 5; +static const uint8_t SS = 2; static const uint8_t MOSI = 23; static const uint8_t MISO = 19; static const uint8_t SCK = 18; +static const uint8_t A0 = 36; +static const uint8_t A3 = 39; +static const uint8_t A4 = 32; +static const uint8_t A5 = 33; +static const uint8_t A6 = 34; +static const uint8_t A7 = 35; +static const uint8_t A10 = 4; +static const uint8_t A11 = 0; +static const uint8_t A12 = 2; +static const uint8_t A13 = 15; +static const uint8_t A14 = 13; +static const uint8_t A15 = 12; +static const uint8_t A16 = 14; +static const uint8_t A17 = 27; +static const uint8_t A18 = 25; +static const uint8_t A19 = 26; + +static const uint8_t T0 = 4; +static const uint8_t T1 = 0; +static const uint8_t T2 = 2; +static const uint8_t T3 = 15; +static const uint8_t T4 = 13; +static const uint8_t T5 = 12; +static const uint8_t T6 = 14; +static const uint8_t T7 = 27; +static const uint8_t T8 = 33; +static const uint8_t T9 = 32; + +static const uint8_t DAC1 = 25; +static const uint8_t DAC2 = 26; + #endif /* Pins_Arduino_h */ diff --git a/variants/node32s/pins_arduino.h b/variants/node32s/pins_arduino.h index 9a7ecd3e..c0c1d593 100644 --- a/variants/node32s/pins_arduino.h +++ b/variants/node32s/pins_arduino.h @@ -3,18 +3,52 @@ #define EXTERNAL_NUM_INTERRUPTS 16 #define NUM_DIGITAL_PINS 40 -#define NUM_ANALOG_INPUTS 18 +#define NUM_ANALOG_INPUTS 16 #define analogInputToDigitalPin(p) #define digitalPinToInterrupt(p) (((p)<40)?(p):-1) #define digitalPinHasPWM(p) (p < 34) +static const uint8_t TX = 1; +static const uint8_t RX = 3; + static const uint8_t SDA = 21; static const uint8_t SCL = 22; -static const uint8_t SS = 5; +static const uint8_t SS = 2; static const uint8_t MOSI = 23; static const uint8_t MISO = 19; static const uint8_t SCK = 18; +static const uint8_t A0 = 36; +static const uint8_t A3 = 39; +static const uint8_t A4 = 32; +static const uint8_t A5 = 33; +static const uint8_t A6 = 34; +static const uint8_t A7 = 35; +static const uint8_t A10 = 4; +static const uint8_t A11 = 0; +static const uint8_t A12 = 2; +static const uint8_t A13 = 15; +static const uint8_t A14 = 13; +static const uint8_t A15 = 12; +static const uint8_t A16 = 14; +static const uint8_t A17 = 27; +static const uint8_t A18 = 25; +static const uint8_t A19 = 26; + +static const uint8_t T0 = 4; +static const uint8_t T1 = 0; +static const uint8_t T2 = 2; +static const uint8_t T3 = 15; +static const uint8_t T4 = 13; +static const uint8_t T5 = 12; +static const uint8_t T6 = 14; +static const uint8_t T7 = 27; +static const uint8_t T8 = 33; +static const uint8_t T9 = 32; + +static const uint8_t DAC1 = 25; +static const uint8_t DAC2 = 26; + #endif /* Pins_Arduino_h */ diff --git a/variants/quantum/pins_arduino.h b/variants/quantum/pins_arduino.h index aeab75c1..c0c1d593 100644 --- a/variants/quantum/pins_arduino.h +++ b/variants/quantum/pins_arduino.h @@ -3,18 +3,52 @@ #define EXTERNAL_NUM_INTERRUPTS 16 #define NUM_DIGITAL_PINS 40 -#define NUM_ANALOG_INPUTS 18 +#define NUM_ANALOG_INPUTS 16 #define analogInputToDigitalPin(p) #define digitalPinToInterrupt(p) (((p)<40)?(p):-1) #define digitalPinHasPWM(p) (p < 34) -static const uint8_t SDA = 22; -static const uint8_t SCL = 21; +static const uint8_t TX = 1; +static const uint8_t RX = 3; -static const uint8_t SS = 5; +static const uint8_t SDA = 21; +static const uint8_t SCL = 22; + +static const uint8_t SS = 2; static const uint8_t MOSI = 23; static const uint8_t MISO = 19; static const uint8_t SCK = 18; +static const uint8_t A0 = 36; +static const uint8_t A3 = 39; +static const uint8_t A4 = 32; +static const uint8_t A5 = 33; +static const uint8_t A6 = 34; +static const uint8_t A7 = 35; +static const uint8_t A10 = 4; +static const uint8_t A11 = 0; +static const uint8_t A12 = 2; +static const uint8_t A13 = 15; +static const uint8_t A14 = 13; +static const uint8_t A15 = 12; +static const uint8_t A16 = 14; +static const uint8_t A17 = 27; +static const uint8_t A18 = 25; +static const uint8_t A19 = 26; + +static const uint8_t T0 = 4; +static const uint8_t T1 = 0; +static const uint8_t T2 = 2; +static const uint8_t T3 = 15; +static const uint8_t T4 = 13; +static const uint8_t T5 = 12; +static const uint8_t T6 = 14; +static const uint8_t T7 = 27; +static const uint8_t T8 = 33; +static const uint8_t T9 = 32; + +static const uint8_t DAC1 = 25; +static const uint8_t DAC2 = 26; + #endif /* Pins_Arduino_h */