27 lines
522 B
C
27 lines
522 B
C
#ifndef Pins_Arduino_h
|
|
#define Pins_Arduino_h
|
|
|
|
#include <stdint.h>
|
|
|
|
#define USB_VID 0x303a
|
|
#define USB_PID 0x1001
|
|
|
|
// Serial (USB CDC)
|
|
static const uint8_t TX = 43;
|
|
static const uint8_t RX = 44;
|
|
|
|
// I2C for OLED and sensors
|
|
static const uint8_t SDA = 8;
|
|
static const uint8_t SCL = 9;
|
|
|
|
// Default SPI mapped to Radio/SD
|
|
static const uint8_t SS = 15; // LoRa CS
|
|
static const uint8_t MOSI = 11;
|
|
static const uint8_t MISO = 12;
|
|
static const uint8_t SCK = 13;
|
|
|
|
// SD Card CS
|
|
#define SDCARD_CS 10
|
|
|
|
#endif /* Pins_Arduino_h */
|