|
26 | 26 | #ifndef Pins_Arduino_h |
27 | 27 | #define Pins_Arduino_h |
28 | 28 |
|
29 | | -#define PIN_WIRE_SDA (4) |
30 | | -#define PIN_WIRE_SCL (5) |
31 | | - |
32 | | -static const uint8_t SDA = PIN_WIRE_SDA; |
33 | | -static const uint8_t SCL = PIN_WIRE_SCL; |
34 | | - |
35 | 29 | #define LED_BUILTIN 2 |
36 | 30 |
|
37 | | -static const uint8_t D0 = 16; |
38 | | -static const uint8_t D1 = 5; |
39 | | -static const uint8_t D2 = 4; |
40 | | -static const uint8_t D3 = 0; |
41 | | -static const uint8_t D4 = 2; |
42 | | -static const uint8_t D5 = 14; |
43 | | -static const uint8_t D6 = 12; |
44 | | -static const uint8_t D7 = 13; |
45 | | -static const uint8_t D8 = 15; |
46 | | -static const uint8_t RX = 3; |
47 | | -static const uint8_t TX = 1; |
| 31 | +// PINOUT Agrumino Implemented |
| 32 | +#define PIN_SDA 2 // [X] BOOT: Must be HIGH at boot |
| 33 | +#define PIN_SCL 14 // [X] |
| 34 | +#define PIN_PUMP 12 // [X] |
| 35 | +#define PIN_BTN_S1 4 // [X] Same as Internal WT8266 LED |
| 36 | +#define PIN_USB_DETECT 5 // [X] |
| 37 | +#define PIN_MOSFET 15 // [X] BOOT: Must be LOW at boot |
| 38 | +#define PIN_BATT_STAT 13 // [X] |
| 39 | +#define PIN_LEVEL 0 // [ ] BOOT: HIGH for Running and LOW for Program |
| 40 | + |
| 41 | +static constexpr uint8_t D0 = 16; |
| 42 | +static constexpr uint8_t RX = 3; |
| 43 | +static constexpr uint8_t TX = 1; |
| 44 | + |
| 45 | +#define PIN_WIRE_SDA PIN_SDA |
| 46 | +#define PIN_WIRE_SCL PIN_SCL |
| 47 | + |
| 48 | +static constexpr uint8_t SDA = PIN_WIRE_SDA; |
| 49 | +static constexpr uint8_t SCL = PIN_WIRE_SCL; |
48 | 50 |
|
49 | 51 | #include "../generic/common.h" |
50 | 52 |
|
|
0 commit comments