diff --git a/variants/BharatPi-A7672S-4G/pins_arduino.h b/variants/BharatPi-A7672S-4G/pins_arduino.h index de20c79088f..a57048fd00e 100644 --- a/variants/BharatPi-A7672S-4G/pins_arduino.h +++ b/variants/BharatPi-A7672S-4G/pins_arduino.h @@ -20,4 +20,13 @@ static const uint8_t RX = 3; static const uint8_t TX_4G = 17; static const uint8_t RX_4G = 16; +static const uint8_t SDA = 21; +static const uint8_t SCL = 22; + +static const uint8_t SS = 5; +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 diff --git a/variants/BharatPi-LoRa/pins_arduino.h b/variants/BharatPi-LoRa/pins_arduino.h index 9b14e810902..6039e83ddfd 100644 --- a/variants/BharatPi-LoRa/pins_arduino.h +++ b/variants/BharatPi-LoRa/pins_arduino.h @@ -24,4 +24,12 @@ static const uint8_t SS = 4; static const uint8_t RST = 14; static const uint8_t DIO0 = 2; +static const uint8_t SDA = 21; +static const uint8_t SCL = 22; + +static const uint8_t SS = -1; +static const uint8_t MOSI = -1; +static const uint8_t MISO = -1; +static const uint8_t SCK = -1; + #endif /* Pins_Arduino_h */ \ No newline at end of file diff --git a/variants/BharatPi-Node-Wifi/pins_arduino.h b/variants/BharatPi-Node-Wifi/pins_arduino.h index 3de64d7127e..82f4df8042b 100644 --- a/variants/BharatPi-Node-Wifi/pins_arduino.h +++ b/variants/BharatPi-Node-Wifi/pins_arduino.h @@ -23,29 +23,14 @@ static const uint8_t RX = 3; static const uint8_t TX2 = 17; static const uint8_t RX2 = 16; -#endif /* Pins_Arduino_h */#ifndef Pins_Arduino_h -#define Pins_Arduino_h - -#include - -static const uint8_t LED_BUILTIN = 2; -#define BUILTIN_LED LED_BUILTIN // backward compatibility -#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN -static const uint8_t SAFFRON_LED = 12; -static const uint8_t WHITE_LED = 2; -static const uint8_t GREEN_LED = 13; +static const uint8_t SDA = 21; +static const uint8_t SCL = 22; -static const uint8_t A0 = 14; -static const uint8_t A1 = 13; -static const uint8_t A2 = 12; -static const uint8_t A3 = 4; -static const uint8_t A4 = 2; -static const uint8_t A5 = 0; +static const uint8_t SS = 5; +static const uint8_t MOSI = 23; +static const uint8_t MISO = 19; +static const uint8_t SCK = 18; -static const uint8_t TX = 1; -static const uint8_t RX = 3; -static const uint8_t TX2 = 17; -static const uint8_t RX2 = 16; #endif /* Pins_Arduino_h */ \ No newline at end of file