File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -45,13 +45,13 @@ const PinName digitalPin[] = {
45
45
PA_8, // D3
46
46
PA_9, // D4
47
47
PA_10, // D5
48
- PA_12, // D6
48
+ PA_12, // D6 - LED1
49
49
PA_13, // D7
50
50
PA_14, // D8
51
51
PA_15, // D9
52
52
PB_2, // D10
53
53
PB_3, // D11
54
- PB_4, // D12
54
+ PB_4, // D12 - LED2
55
55
PB_5, // D13
56
56
PB_8, // D14
57
57
PB_9, // D15
Original file line number Diff line number Diff line change @@ -61,13 +61,13 @@ enum {
61
61
PA8 , //D3
62
62
PA9 , //D4
63
63
PA10 , //D5
64
- PA12 , //D6
64
+ PA12 , //D6 - LED1
65
65
PA13 , //D7
66
66
PA14 , //D8
67
67
PA15 , //D9
68
68
PB2 , //D10
69
69
PB3 , //D11
70
- PB4 , //D12
70
+ PB4 , //D12 - LED2
71
71
PB5 , //D13
72
72
PB8 , //D15
73
73
PB9 , //D14
@@ -103,7 +103,7 @@ enum {
103
103
//#define PWM_MAX_DUTY_CYCLE 255
104
104
105
105
// On-board LED pin number
106
- #define LED_BUILTIN 13
106
+ #define LED_BUILTIN 6
107
107
#define LED_GREEN LED_BUILTIN
108
108
109
109
// On-board user button
@@ -145,8 +145,8 @@ enum {
145
145
146
146
// Default pin used for 'Serial' instance (ex: ST-Link)
147
147
// Mandatory for Firmata
148
- #define PIN_SERIAL_RX D5
149
- #define PIN_SERIAL_TX D4
148
+ #define PIN_SERIAL_RX 5
149
+ #define PIN_SERIAL_TX 4
150
150
151
151
#ifdef __cplusplus
152
152
} // extern "C"
You can’t perform that action at this time.
0 commit comments