File tree Expand file tree Collapse file tree 4 files changed +20
-12
lines changed
Expand file tree Collapse file tree 4 files changed +20
-12
lines changed Original file line number Diff line number Diff line change @@ -55,13 +55,10 @@ extern "C"
5555
5656#define LED_STATE_ON 1 // State when LED is litted
5757
58- // Buttons
5958/*
60- #define PIN_BUTTON1 (2)
61- #define PIN_BUTTON2 (3)
62- #define PIN_BUTTON3 (4)
63- #define PIN_BUTTON4 (5)
64- */
59+ * Buttons
60+ */
61+ #define PIN_BUTTON1 (7)
6562
6663/*
6764 * Analog pins
Original file line number Diff line number Diff line change @@ -55,13 +55,11 @@ extern "C"
5555
5656#define LED_STATE_ON 1 // State when LED is litted
5757
58- // Buttons
5958/*
60- #define PIN_BUTTON1 (2)
61- #define PIN_BUTTON2 (3)
62- #define PIN_BUTTON3 (4)
63- #define PIN_BUTTON4 (5)
64- */
59+ * Buttons
60+ */
61+ #define PIN_BUTTON1 (37)
62+ #define PIN_BUTTON2 (36)
6563
6664/*
6765 * Analog pins
Original file line number Diff line number Diff line change @@ -54,6 +54,14 @@ extern "C"
5454
5555#define LED_STATE_ON 0 // State when LED is litted
5656
57+ /*
58+ * Buttons
59+ */
60+ #define PIN_BUTTON1 11
61+ #define PIN_BUTTON2 12
62+ #define PIN_BUTTON3 24
63+ #define PIN_BUTTON4 25
64+
5765/*
5866 * Analog pins
5967 */
Original file line number Diff line number Diff line change @@ -54,6 +54,11 @@ extern "C"
5454
5555#define LED_STATE_ON 0 // State when LED is litted
5656
57+ /*
58+ * Buttons
59+ */
60+ #define PIN_BUTTON1 2
61+
5762#define PIN_DFU 2
5863
5964// Buttons
You can’t perform that action at this time.
0 commit comments