updated sender
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#define ID 0
|
#define ID 0
|
||||||
#define PROGRAM "Sender"
|
#define PROGRAM "Sender"
|
||||||
#define SW_VERSION "1.3"
|
#define SW_VERSION "1.4"
|
||||||
#define HW_VERSION "2.1"
|
#define HW_VERSION "2.1"
|
||||||
|
|
||||||
#define BTN_INT 3 // button interrupt pin
|
#define BTN_INT 3 // button interrupt pin
|
||||||
@@ -49,7 +49,7 @@ void setup(){
|
|||||||
states[i] = LOW;
|
states[i] = LOW;
|
||||||
}
|
}
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
init485(Max485_RO,Max485_RE,Max485_DE,Max485_DI,6000); // library initialization:
|
init485(Max485_RO,Max485_RE,Max485_DE,Max485_DI,4000); // library initialization:
|
||||||
pinMode(BTN_INT,INPUT_PULLUP);
|
pinMode(BTN_INT,INPUT_PULLUP);
|
||||||
pinMode(14,INPUT_PULLUP);
|
pinMode(14,INPUT_PULLUP);
|
||||||
pinMode(15,INPUT_PULLUP);
|
pinMode(15,INPUT_PULLUP);
|
||||||
|
|||||||
Reference in New Issue
Block a user