arduino-esp32/variants/BharatPi-LoRa/pins_arduino.h
Bharat Pi 630377f7d3
feat(Variants): Add Arduino libraries for Lora 4G Module and Node Wifi o… (#10402)
* feat(esp32): Added support for BharatPi 4G, LoRa & NodeWifi Boards

* fix(variant): Fixed review comments for SPI and I2C Pins

* fix(variant): Fixed review comments and Lora build fix

* fix(variant): Fixed review comments for board name

* fix(review): Fixed review comment for CI

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-10-07 13:43:51 +03:00

35 lines
848 B
C

#ifndef Pins_Arduino_h
#define Pins_Arduino_h
#include <stdint.h>
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 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 TX = 1;
static const uint8_t RX = 3;
static const uint8_t TX2 = 17;
static const uint8_t RX2 = 16;
static const uint8_t LORA_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 = 5;
static const uint8_t MOSI = 23;
static const uint8_t MISO = 19;
static const uint8_t SCK = 18;
#endif /* Pins_Arduino_h */