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.
Hi all! I am curious if a call function library exists for mbed? I would like to call a function from text that was sent via Serial. For example, I may have text sent like: {"cmd" : "someCmd"} to my mbed. The "someCmd" should consist of a function. In the past I have created a select to do that which worked well, but as my function list grew so did my case list. I've have been studying pointers and that seems like a good approach, but I believe that is out of my comfort zone until I dive deaper into the understanding of pointers. How easy as that achieve without a library? Also, my main question still is of importance.
-Rich