Hello forum,
i have this problem :
I download a command from my phone under the form of a string, when I want to compare this command to some other string nothing happens :/
The best thing is that the recived: command displays on the serial. That is, the command received is correct. The comparison if(command == "cos") doesn't work anymore. Does anyone have any suggestions for a solution?
Full code here at the very bottom.
Piece of code:
i have this problem :
I download a command from my phone under the form of a string, when I want to compare this command to some other string nothing happens :/
The best thing is that the recived: command displays on the serial. That is, the command received is correct. The comparison if(command == "cos") doesn't work anymore. Does anyone have any suggestions for a solution?
Full code here at the very bottom.
Piece of code:
Code: C / C++