Compare commits
2 Commits
nano-6
...
nano-revis
| Author | SHA1 | Date | |
|---|---|---|---|
| 0605fbc52e | |||
| 948cb7de7b |
@@ -49,7 +49,7 @@ void setup(){
|
||||
states[i] = LOW;
|
||||
}
|
||||
Serial.begin(115200);
|
||||
init485(Max485_RO,Max485_RE,Max485_DE,Max485_DI); // library initialization:
|
||||
init485(Max485_RO,Max485_RE,Max485_DE,Max485_DI,6000); // library initialization:
|
||||
pinMode(BTN_INT,INPUT_PULLUP);
|
||||
pinMode(14,INPUT_PULLUP);
|
||||
pinMode(15,INPUT_PULLUP);
|
||||
|
||||
@@ -13,13 +13,13 @@
|
||||
#define Max485_DE 9 // data enable of Max485
|
||||
#define Max485_DI 8 // data input of Max485
|
||||
|
||||
#define PROGRAM "{hw:RS485-Nano rev 2.0,firmware:Transceiver,version:1.0}"
|
||||
|
||||
#define PROGRAM "{hw:RS485-Nano rev 2.0,firmware:Transceiver,version:1.1}"
|
||||
String message = "";
|
||||
char c;
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
init485(Max485_RO,Max485_RE,Max485_DE,Max485_DI); // library initialization:
|
||||
Serial.println(PROGRAM);
|
||||
init485(Max485_RO,Max485_RE,Max485_DE,Max485_DI,6000); // library initialization:
|
||||
send485(PROGRAM);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
// 6=Bad OG
|
||||
|
||||
#define ID 0
|
||||
#define PROGRAM "TempSender"
|
||||
define SW_VERSION "1.5"
|
||||
#define HW_VERSION "2.0"
|
||||
#define PROGRAM "TempSender"
|
||||
#define SW_VERSION "1.5"
|
||||
|
||||
#define BTN_INT 2 // button interrupt pin
|
||||
#define Max485_RO 3 // read-output of Max485
|
||||
|
||||
Reference in New Issue
Block a user