Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I have started to code my library called cfExstentions that requires the ConfigFile library. I included the ConfigFile.h file into my cfExtensions.cpp file. I tried to initialize the ConfigFile library by coding:
Code that does not work:
Line 45 is throwing an error: identifier "cfg" is undefined. I'm assuming that I am not calling cfg correctly? What am I not doing?
EDIT: I fixed that issue by initializing the ConfigFile library outside of my constructor.