I have, for example, in the file main.cpp declared the definition of
#define CHRGDETECT GPIO_NUM_35
Now I have my own library and I would like the declared value not to have to be duplicated in it as well. How do I do this?
ESP32 arduino platform environment
#define CHRGDETECT GPIO_NUM_35
Now I have my own library and I would like the declared value not to have to be duplicated in it as well. How do I do this?
ESP32 arduino platform environment