|
32 | 32 | #define analogInputToDigitalPin(p) ((p < 16) ? (p) + 54 : -1)
|
33 | 33 | #define digitalPinHasPWM(p) (((p) >= 2 && (p) <= 13) || ((p) >= 44 && (p)<= 46))
|
34 | 34 |
|
35 |
| -static const uint8_t SS = 53; |
36 |
| -static const uint8_t MOSI = 51; |
37 |
| -static const uint8_t MISO = 50; |
38 |
| -static const uint8_t SCK = 52; |
| 35 | +#define SS 53 |
| 36 | +#define MOSI 51 |
| 37 | +#define MISO 50 |
| 38 | +#define SCK 52 |
39 | 39 |
|
40 |
| -static const uint8_t SDA = 20; |
41 |
| -static const uint8_t SCL = 21; |
| 40 | +#define SDA 20 |
| 41 | +#define SCL 21 |
42 | 42 | #define LED_BUILTIN 13
|
43 | 43 |
|
44 |
| -static const uint8_t A0 = 54; |
45 |
| -static const uint8_t A1 = 55; |
46 |
| -static const uint8_t A2 = 56; |
47 |
| -static const uint8_t A3 = 57; |
48 |
| -static const uint8_t A4 = 58; |
49 |
| -static const uint8_t A5 = 59; |
50 |
| -static const uint8_t A6 = 60; |
51 |
| -static const uint8_t A7 = 61; |
52 |
| -static const uint8_t A8 = 62; |
53 |
| -static const uint8_t A9 = 63; |
54 |
| -static const uint8_t A10 = 64; |
55 |
| -static const uint8_t A11 = 65; |
56 |
| -static const uint8_t A12 = 66; |
57 |
| -static const uint8_t A13 = 67; |
58 |
| -static const uint8_t A14 = 68; |
59 |
| -static const uint8_t A15 = 69; |
| 44 | +#define A0 54 |
| 45 | +#define A1 55 |
| 46 | +#define A2 56 |
| 47 | +#define A3 57 |
| 48 | +#define A4 58 |
| 49 | +#define A5 59 |
| 50 | +#define A6 60 |
| 51 | +#define A7 61 |
| 52 | +#define A8 62 |
| 53 | +#define A9 63 |
| 54 | +#define A10 64 |
| 55 | +#define A11 65 |
| 56 | +#define A12 66 |
| 57 | +#define A13 67 |
| 58 | +#define A14 68 |
| 59 | +#define A15 69 |
60 | 60 |
|
61 | 61 | // A majority of the pins are NOT PCINTs, SO BE WARNED (i.e. you cannot use them as receive pins)
|
62 | 62 | // Only pins available for RECEIVE (TRANSMIT can be on any pin):
|
|
0 commit comments