2023-05-01 12:12:00 +00:00
|
|
|
#ifndef Pins_Arduino_h
|
|
|
|
#define Pins_Arduino_h
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#define USB_VID 0x303a
|
|
|
|
#define USB_PID 0x1001
|
|
|
|
|
|
|
|
static const uint8_t TX = 43;
|
|
|
|
static const uint8_t RX = 44;
|
|
|
|
|
|
|
|
// The default Wire will be mapped to PMU and RTC
|
|
|
|
static const uint8_t SDA = 12;
|
|
|
|
static const uint8_t SCL = 14;
|
|
|
|
|
|
|
|
// Default SPI will be mapped to Radio
|
|
|
|
static const uint8_t MISO = 39;
|
|
|
|
static const uint8_t SCK = 21;
|
|
|
|
static const uint8_t MOSI = 38;
|
|
|
|
static const uint8_t SS = 17;
|
|
|
|
|
2023-09-27 21:01:40 +00:00
|
|
|
// #define SPI_MOSI (11)
|
|
|
|
// #define SPI_SCK (14)
|
|
|
|
// #define SPI_MISO (2)
|
|
|
|
// #define SPI_CS (13)
|
2023-05-01 12:12:00 +00:00
|
|
|
|
2023-09-27 21:01:40 +00:00
|
|
|
// #define SDCARD_CS SPI_CS
|
2023-05-01 12:12:00 +00:00
|
|
|
|
2023-09-27 21:01:40 +00:00
|
|
|
#endif /* Pins_Arduino_h */
|