add PIN_BUTTON for some variants
This commit is contained in:
1 parent
9de0ae2443
commit
f4781e3e1c
4 files changed
+20
-12
No files matched your search
@@ -55,13 +55,10 @@ extern "C"
|
||||
|
||||
#define LED_STATE_ON 1 // State when LED is litted
|
||||
|
||||
// Buttons
|
||||
/*
|
||||
#define PIN_BUTTON1 (2)
|
||||
#define PIN_BUTTON2 (3)
|
||||
#define PIN_BUTTON3 (4)
|
||||
#define PIN_BUTTON4 (5)
|
||||
*/
|
||||
* Buttons
|
||||
*/
|
||||
#define PIN_BUTTON1 (7)
|
||||
|
||||
/*
|
||||
* Analog pins
|
||||
|
||||
@@ -55,13 +55,11 @@ extern "C"
|
||||
|
||||
#define LED_STATE_ON 1 // State when LED is litted
|
||||
|
||||
// Buttons
|
||||
/*
|
||||
#define PIN_BUTTON1 (2)
|
||||
#define PIN_BUTTON2 (3)
|
||||
#define PIN_BUTTON3 (4)
|
||||
#define PIN_BUTTON4 (5)
|
||||
*/
|
||||
* Buttons
|
||||
*/
|
||||
#define PIN_BUTTON1 (37)
|
||||
#define PIN_BUTTON2 (36)
|
||||
|
||||
/*
|
||||
* Analog pins
|
||||
|
||||
@@ -54,6 +54,14 @@ extern "C"
|
||||
|
||||
#define LED_STATE_ON 0 // State when LED is litted
|
||||
|
||||
/*
|
||||
* Buttons
|
||||
*/
|
||||
#define PIN_BUTTON1 11
|
||||
#define PIN_BUTTON2 12
|
||||
#define PIN_BUTTON3 24
|
||||
#define PIN_BUTTON4 25
|
||||
|
||||
/*
|
||||
* Analog pins
|
||||
*/
|
||||
|
||||
@@ -54,6 +54,11 @@ extern "C"
|
||||
|
||||
#define LED_STATE_ON 0 // State when LED is litted
|
||||
|
||||
/*
|
||||
* Buttons
|
||||
*/
|
||||
#define PIN_BUTTON1 2
|
||||
|
||||
#define PIN_DFU 2
|
||||
|
||||
// Buttons
|
||||
|
||||
Reference in new issue
Block a user