Hi. I am trying to make my own library according to arduino library tutorial. But I am facing problem in variables. I have defined few variables in my sketch such as,
#define MY_SSID "Ahmed"
#define MY_PASSWORD "My_PAssw@rD"
When I make header file, myLibrary.h and put all code in header file, every thing works fine, but when I separate functions from header related stuff and make .cpp file, it gives error about these variables that they are not defined. May someone shed light on it?