arduino-esp32/variants/twatch/pins_arduino.h
Lucas Saavedra Vaz 6bfcd6d9a9
refactor(style): Change some style options (#9526)
* refactor(style): Change some style options

* refactor(style): Apply style changes
2024-04-19 18:16:55 +03:00

35 lines
813 B
C

#ifndef Pins_Arduino_h
#define Pins_Arduino_h
#include <stdint.h>
// touch screen
#define TP_SDA 23
#define TP_SCL 32
#define TP_INT 38
// Interrupt IO port
#define RTC_INT 37
#define APX20X_INT 35
#define BMA42X_INT1 39
static const uint8_t TX = 1;
static const uint8_t RX = 3;
//Serial1 Already assigned to GPS LORA
#define TX1 33
#define RX1 34
// Already assigned to BMA423 PCF8563 and external extensions
static const uint8_t SDA = 21;
static const uint8_t SCL = 22;
// SPI has been configured as an SD card slot and must be removed when downloading
static const uint8_t SS = 13;
static const uint8_t MOSI = 15;
static const uint8_t MISO = 2;
static const uint8_t SCK = 14;
// Externally programmable IO
static const uint8_t DAC1 = 25;
static const uint8_t DAC2 = 26;
#endif /* Pins_Arduino_h */