I have found some alternatives that can be used:
https://electrohobby.ca/forum/showthread.php?tid=214&pid=1281
Ricardo JL Rufino
@Ricardo JL Rufino
0
Reputation
3
Posts
135
Profile views
0
Followers
0
Following
Best posts made by Ricardo JL Rufino
This user hasn't posted anything yet.
Latest posts made by Ricardo JL Rufino
-
RE: How to pass the #define for MySensors
-
RE: How to pass the #define for MySensors
If I knew it could include cpf in a .h file I had done before ... =]
Thanks for the tip. -
How to pass the #define for MySensors
I need to use the same technique in my library but is not working.
I am using in my config.h#ifdef ODEV_API_KEY #define ODEV_API_KEY_REAL ODEV_API_KEY #endif #ifndef ODEV_API_KEY #define ODEV_API_KEY_REAL "*" #endif const char MQTT_TOPIC[] = ODEV_API_KEY_REAL "/in/ModuleName";
If I put a #error at first condiftion, it really indicates is falling in this first condition, but MQTT_TOPIC is as if he had fallen in second