3g shield PIN

Hello,

what is false on this codeline?

Best Regards.

sprintf(aux_string, "AT+CPIN=%s", PIN); answer = sendATcommand(aux_string, "OK", 2000);

The variable PIN is not running.

The variable PIN is not running.

That makes sense, since variables do not run. They stand and fight.

http://snippets-r-us.com might be able to help you.