File tree 7 files changed +34
-5
lines changed
7 files changed +34
-5
lines changed Original file line number Diff line number Diff line change 9
9
#define digitalPinToInterrupt (p ) (((p)<40)?(p):-1)
10
10
#define digitalPinHasPWM (p ) (p < 34)
11
11
12
+ static const uint8_t LED_BUILTIN = 5 ;
13
+ #define BUILTIN_LED LED_BUILTIN // backward compatibility
14
+
15
+ static const uint8_t TX = 1 ;
16
+ static const uint8_t RX = 3 ;
17
+
12
18
static const uint8_t SDA = 2 ;
13
19
static const uint8_t SCL = 14 ;
14
20
Original file line number Diff line number Diff line change 9
9
#define digitalPinToInterrupt (p ) (((p)<40)?(p):-1)
10
10
#define digitalPinHasPWM (p ) (p < 34)
11
11
12
+ static const uint8_t LED_BUILTIN = 5 ;
13
+ #define BUILTIN_LED LED_BUILTIN // backward compatibility
14
+
15
+ static const uint8_t KEY_BUILTIN = 0 ;
16
+
12
17
static const uint8_t TX = 1 ;
13
18
static const uint8_t RX = 3 ;
14
19
Original file line number Diff line number Diff line change 9
9
#define digitalPinToInterrupt (p ) (((p)<40)?(p):-1)
10
10
#define digitalPinHasPWM (p ) (p < 34)
11
11
12
- #define LED_BUILTIN 5
12
+ static const uint8_t LED_BUILTIN = 5 ;
13
+ #define BUILTIN_LED LED_BUILTIN // backward compatibility
14
+
15
+ static const uint8_t KEY_BUILTIN = 0 ;
13
16
14
17
static const uint8_t TX = 1 ;
15
18
static const uint8_t RX = 3 ;
Original file line number Diff line number Diff line change 9
9
#define digitalPinToInterrupt (p ) (((p)<40)?(p):-1)
10
10
#define digitalPinHasPWM (p ) (p < 34)
11
11
12
- static const uint8_t TX = 1 ;
12
+ static const uint8_t LED_BUILTIN = 13 ;
13
+ #define BUILTIN_LED LED_BUILTIN // backward compatibility
14
+
15
+ static const uint8_t KEY_BUILTIN = 0 ;
16
+
17
+ static const uint8_t TX = 1 ;
13
18
static const uint8_t RX = 3 ;
14
19
15
20
static const uint8_t SDA = 21 ;
Original file line number Diff line number Diff line change 9
9
#define digitalPinToInterrupt (p ) (((p)<40)?(p):-1)
10
10
#define digitalPinHasPWM (p ) (p < 34)
11
11
12
- #define LED_BUILTIN 2
13
- #define KEY_BUILTIN 0
12
+ static const uint8_t LED_BUILTIN = 2 ;
13
+ #define BUILTIN_LED LED_BUILTIN // backward compatibility
14
+
15
+ static const uint8_t KEY_BUILTIN = 0 ;
14
16
15
17
static const uint8_t TX = 1 ;
16
18
static const uint8_t RX = 3 ;
Original file line number Diff line number Diff line change 9
9
#define digitalPinToInterrupt (p ) (((p)<40)?(p):-1)
10
10
#define digitalPinHasPWM (p ) (p < 34)
11
11
12
- #define LED_BUILTIN 16
12
+ static const uint8_t LED_BUILTIN = 16 ;
13
+ #define BUILTIN_LED LED_BUILTIN // backward compatibility
14
+
15
+ static const uint8_t BUILTIN_KEY = 0 ;
13
16
14
17
static const uint8_t TX = 1 ;
15
18
static const uint8_t RX = 3 ;
Original file line number Diff line number Diff line change 9
9
#define digitalPinToInterrupt (p ) (((p)<40)?(p):-1)
10
10
#define digitalPinHasPWM (p ) (p < 34)
11
11
12
+ static const uint8_t LED_BUILTIN = 2 ;
13
+ #define BUILTIN_LED LED_BUILTIN // backward compatibility
14
+
15
+ static const uint8_t KEY_BUILTIN = 0 ;
16
+
12
17
static const uint8_t TX = 1 ;
13
18
static const uint8_t RX = 3 ;
14
19
You can’t perform that action at this time.
0 commit comments