mirror of
https://github.com/anklimov/lighthub
synced 2025-12-08 12:49:50 +03:00
Merging changes
This commit is contained in:
@@ -32,8 +32,6 @@ e-mail anklimov@gmail.com
|
|||||||
#include <ModbusMaster.h>
|
#include <ModbusMaster.h>
|
||||||
#include <PubSubClient.h>
|
#include <PubSubClient.h>
|
||||||
|
|
||||||
#define dimPar SERIAL_8E1
|
|
||||||
#define fmPar SERIAL_8N1
|
|
||||||
|
|
||||||
short modbusBusy = 0;
|
short modbusBusy = 0;
|
||||||
extern aJsonObject *pollingItem;
|
extern aJsonObject *pollingItem;
|
||||||
|
|||||||
@@ -32,6 +32,9 @@
|
|||||||
#define MODBUS_SERIAL_BAUD 9600
|
#define MODBUS_SERIAL_BAUD 9600
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define dimPar SERIAL_8E1
|
||||||
|
#define fmPar SERIAL_8N1
|
||||||
|
|
||||||
#ifndef SERIAL_BAUD
|
#ifndef SERIAL_BAUD
|
||||||
#define SERIAL_BAUD 115200
|
#define SERIAL_BAUD 115200
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -9,11 +9,11 @@
|
|||||||
; http://docs.platformio.org/page/projectconf.html
|
; http://docs.platformio.org/page/projectconf.html
|
||||||
[platformio]
|
[platformio]
|
||||||
src_dir = lighthub
|
src_dir = lighthub
|
||||||
env_default =
|
env_default = due-5500
|
||||||
; megaatmega2560
|
; megaatmega2560
|
||||||
; megaatmega2560-5500
|
; megaatmega2560-5500
|
||||||
; due
|
; due
|
||||||
due-5500
|
|
||||||
; esp8266
|
; esp8266
|
||||||
|
|
||||||
[env:due]
|
[env:due]
|
||||||
|
|||||||
Reference in New Issue
Block a user