Im currently creating a HMI wich allow control of the arduino card by the PC thanks to Visual Studio (c#).
My current problem is that Im sending a message to the arduino on the serial port with Visual Studio,
this message is well received by the arduino and Im able to stack it into a string :
if(test==‘D’ && APC==1)
The string is the exact same stuff I wanted to have,
but I dont know how to convert that string into a function…
I dont know how to explain it but I created functions on a .h + .cpp wich got the exact same names that the messages I sends and I want those messages to launch the functions without using a thousands if.
example of what I did in pics…