2022-02-11 02:21:36 +00:00
|
|
|
#ifndef Pins_Arduino_h
|
|
|
|
#define Pins_Arduino_h
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2023-01-21 13:34:29 +00:00
|
|
|
#define LED_GREEN 12
|
|
|
|
#define LED_BLUE 2
|
2022-02-11 02:21:36 +00:00
|
|
|
|
2023-01-21 13:34:29 +00:00
|
|
|
#define LED_BUILTIN LED_GREEN
|
2022-02-11 02:21:36 +00:00
|
|
|
|
|
|
|
static const uint8_t TX = 1;
|
|
|
|
static const uint8_t RX = 3;
|
|
|
|
|
|
|
|
#define TX1 21
|
|
|
|
#define RX1 19
|
|
|
|
|
|
|
|
#define WB_IO1 14
|
|
|
|
#define WB_IO2 27
|
|
|
|
#define WB_IO3 26
|
|
|
|
#define WB_IO4 23
|
|
|
|
#define WB_IO5 13
|
|
|
|
#define WB_IO6 22
|
|
|
|
#define WB_SW1 34
|
|
|
|
#define WB_A0 36
|
|
|
|
#define WB_A1 39
|
|
|
|
#define WB_CS 32
|
|
|
|
#define WB_LED1 12
|
|
|
|
#define WB_LED2 2
|
|
|
|
|
|
|
|
static const uint8_t SDA = 4;
|
|
|
|
static const uint8_t SCL = 5;
|
|
|
|
|
|
|
|
static const uint8_t SS = 32;
|
|
|
|
static const uint8_t MOSI = 25;
|
|
|
|
static const uint8_t MISO = 35;
|
|
|
|
static const uint8_t SCK = 33;
|
|
|
|
|
|
|
|
#endif /* Pins_Arduino_h */
|