Closed kukudemajia closed 7 years ago
Hello, Some context informations perhaps ?
I see what's wrong. User_config.h line: 180
#define BT_TX D6 //ESP8266 TX connect HM-10 RX
should be:
#define BT_TX 12 //ESP8266 D6 TX connect HM-10 RX
ok I will modify the default settings
cheer
Arduino:1.8.4 (Windows 7), 开发板:"ESPresso Lite 1.0, 80 MHz, 115200, 4M (3M SPIFFS), nodemcu, Disabled, None"
E:\OpenMQTTGateway\Arduino\OpenMQTTGateway\OpenMQTTGateway.ino: In function 'int getMin()':
E:\OpenMQTTGateway\Arduino\OpenMQTTGateway\OpenMQTTGateway.ino:288:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
E:\OpenMQTTGateway\Arduino\OpenMQTTGateway\OpenMQTTGateway.ino: In function 'boolean isAduplicate(long int)':
E:\OpenMQTTGateway\Arduino\OpenMQTTGateway\OpenMQTTGateway.ino:300:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ReceivedSignal[i][0] == value){
In file included from E:\OpenMQTTGateway\Arduino\OpenMQTTGateway\OpenMQTTGateway.ino:42:0:
E:\OpenMQTTGateway\Arduino\OpenMQTTGateway\ZgatewayBT.ino: At global scope:
User_config.h:200: error: 'D7' was not declared in this scope
E:\OpenMQTTGateway\Arduino\OpenMQTTGateway\ZgatewayBT.ino:39:27: note: in expansion of macro 'BT_RX'
SoftwareSerial softserial(BT_RX, BT_TX);
User_config.h:201: error: 'D6' was not declared in this scope
E:\OpenMQTTGateway\Arduino\OpenMQTTGateway\ZgatewayBT.ino:39:34: note: in expansion of macro 'BT_TX'
SoftwareSerial softserial(BT_RX, BT_TX);
exit status 1 'D7' was not declared in this scope
"// #define ZgatewayBT " is ok.