Hi,
I’ve only just started using Blynk this morning on several nodemcu board with a esp8266 12 chip. Just using the Blynk example sketch for esp8266 standalone worked perfectly and I had it running in less than 2 minutes.
Now if I include Blynk lines in an existing sketch gives me all kinds of compiling errors. It seems that somehow after installing the Blynk library some things in the previous installed esp8266 got messed up.
Reinstalling the ESP8266 library didn’t work.
These are the errors I’m getting:
Arduino: 1.6.5 (Windows 8.1), Board:“NodeMCU 0.9 (ESP-12 Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)”
In file included from E:\Documenten\Arduino\libraries\LiquidCrystal_I2C/LCD.h:43:0,
from E:\Documenten\Arduino\libraries\LiquidCrystal_I2C/LiquidCrystal_I2C.h:35,
from Nieuwe_lcd_key.ino:2:
C:\Users\braml\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/Arduino.h:41:14: error: expected identifier before numeric constant
#define HIGH 0x1
^
E:\Documenten\Arduino\libraries\Keypad\src/Keypad.h:56:16: note: in expansion of macro ‘HIGH’
#define CLOSED HIGH
^
E:\Documenten\Arduino\libraries\ESP8266WiFi\src/include/wl_definitions.h:73:3: note: in expansion of macro ‘CLOSED’
CLOSED = 0,
^
C:\Users\braml\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/Arduino.h:41:14: error: expected ‘}’ before numeric constant
#define HIGH 0x1
^
E:\Documenten\Arduino\libraries\Keypad\src/Keypad.h:56:16: note: in expansion of macro ‘HIGH’
#define CLOSED HIGH
^
E:\Documenten\Arduino\libraries\ESP8266WiFi\src/include/wl_definitions.h:73:3: note: in expansion of macro ‘CLOSED’
CLOSED = 0,
^
C:\Users\braml\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/Arduino.h:41:14: error: expected unqualified-id before numeric constant
#define HIGH 0x1
^
E:\Documenten\Arduino\libraries\Keypad\src/Keypad.h:56:16: note: in expansion of macro ‘HIGH’
#define CLOSED HIGH
^
E:\Documenten\Arduino\libraries\ESP8266WiFi\src/include/wl_definitions.h:73:3: note: in expansion of macro ‘CLOSED’
CLOSED = 0,
^
In file included from Nieuwe_lcd_key.ino:5:0:
E:\Documenten\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:29:1: error: expected declaration before ‘}’ token
}
^
Multiple libraries were found for “LiquidCrystal_I2C.h”
Used: E:\Documenten\Arduino\libraries\LiquidCrystal_I2C
Not used: E:\Documenten\Arduino\libraries\LiquidCrystal
Multiple libraries were found for “ESP8266WiFi.h”
Used: E:\Documenten\Arduino\libraries\ESP8266WiFi
Not used: C:\Users\braml\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi
Fout bij compileren.
Dit rapport zou meer informatie hebben met
“Tijdens de compilatie uitgebreide uitvoer weergeven”
ingeschakeld in Bestand > Voorkeuren.
Anyone who had this problem too and can help me out?
Thanks in advance!