Is there a way to send mathematical expression via serial communication and receiving the answer?

I managed to communicate with ports via serial communication.
Now I am trying to write a function in C# that will handle specific data that will be processed in external port and will return a value.

For example:
Sending 5*5 from one port, processing it in second port and receiving 25 to the first port.
How can I do that ?


Leave a Reply

Your email address will not be published. Required fields are marked *