I have a string that Arduino sends to my application through the serial port with the following format:
variable = # ultrasound distance # # ultrasound distance # # (with 10 samples equal to this).
I need to separate only the numbers of this string, add them to each other, calculate a simple average on these values stored in this average in a variable and show in a textbox to show the value. If anyone can help, thank you.