Hi
I have seen a sketch to communicate with a GPRS module containing the following snip of code:
while(!Serial1.find("CONNECT")){
Serial1.println("AT+KTCPSTART=1");
delay(5000);
}
Can anyone explain the find() function in this code.
Arduino doesn't recognise it and I cant find any reference to it on the web.
It looks like it's waiting to receive a string "CONNECT" which will be very useful.
Can anyone help???
Thank you