There are a few functions you can call to compare strings. strcmp is the most basic, it takes the two strings to be compared as parameters and returns 0 if the strings are equal.BTW, i changed the test for serial available so that it will work if more than one command is received at the serial port when the sketch checks to see if charactors are available
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16