I'm developing an application to play "Battleship" with another opponent through serial communication. I currently have the following difficulty:
I have not been able to fill the Array with my opponent's ships, I can modify a position, but by changing the position, the result of the previous position returns to its original value.
For my turn, using the radio buttons, I select the coordinate and press the SEND button. My opponent answers me with a 1 if I hit or with a 0 if I failed, this data is what I couldn't keep in the array.
I need a little help.
I want to send from LabVIEW to Arduino via serial port the string for example "ABC" and so on.
The problem is that when I send the string from LabVIEW .......the Arduino do nothing. Sometimes shows some kind of sign.
When I send the string via Visual Studio it works perfectly.
Is there someone who can help me.
I attached picture of vi and Arduino code
Thank you very much.