Hi Pete,
I checked both of my DHT and PCF8574 libraries, and found “DEBUG_PRINT” used in many places as well as in Blynk Edgent. Perhaps this is a common term?
Here are the links to the DHT and PCF8574 libraries that I used:
DHT (version 1.4.4, author = Adafruit): DHT sensor library - Arduino Libraries
PCF8574 (version 2.3.5, author = Renzo Mischianti): https://github.com/xreef/PCF8574_library
For now, I get by this warning by changing “DEBUG_PRINT” in Blynk Edgent to a different name, so it won’t be redundant with other libraries.
I am surprised other users have not seen this warning, or perhaps I am doing something wrong.
Is there a way to put all Blynk Edgent sketch tabs inside of a library folder (e.g. Documents > Arduino > libraries > Blynk Edgent)?
Below is the warning.
In file included from C:\Users\abc\AppData\Local\Temp\.arduinoIDE-unsaved2023326-14096-rx9m55.bgbob\Edgent_ESP8266\Edgent_ESP8266.ino:11:
c:\Users\abc\Documents\Arduino\libraries\DHT_sensor_library/DHT.h:37: warning: "DEBUG_PRINT" redefined
37 | #define DEBUG_PRINT(...) \
|
In file included from C:\Users\abc\AppData\Local\Temp\.arduinoIDE-unsaved2023326-14096-rx9m55.bgbob\Edgent_ESP8266\BlynkEdgent.h:9,
from C:\Users\abc\AppData\Local\Temp\.arduinoIDE-unsaved2023326-14096-rx9m55.bgbob\Edgent_ESP8266\Edgent_ESP8266.ino:10:
C:\Users\abc\AppData\Local\Temp\.arduinoIDE-unsaved2023326-14096-rx9m55.bgbob\Edgent_ESP8266\Settings.h:98: note: this is the location of the previous definition
98 | #define DEBUG_PRINT(...)
|
. Variables and constants in RAM (global, static), used 38320 / 80192 bytes (47%)
║ SEGMENT BYTES DESCRIPTION
╠══ DATA 1632 initialized variables
╠══ RODATA 7344 constants
╚══ BSS 29344 zeroed variables
. Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 62111 / 65536 bytes (94%)
║ SEGMENT BYTES DESCRIPTION
╠══ ICACHE 32768 reserved space for flash instruction cache
╚══ IRAM 29343 code in IRAM
. Code in flash (default, ICACHE_FLASH_ATTR), used 431560 / 1048576 bytes (41%)
║ SEGMENT BYTES DESCRIPTION
╚══ IROM 431560 code in flash