I have an application on my android device that sending through the wifi chars from 0 to 5 and my arduino needs to do some tasks according to the char that it received.
when I run the serial monitor on the arduino program I see that I received those chars but the task according to those chars does not executed.
can anyone help me?
my board is arduino mega 2560 and my wifi sheild is adafruit cc3000.
my arduino code is attached
sagy.ino (5.82 KB)