나는 arduino uno의 위에 앉는 arduino GSM 방패가있다. 아래 코드가 있습니다. 방패는 단지 그것이 연결되어 있다는 것을 보여 주지만 연결되어 있다는 것을 결코 보여주지 못합니다. 연결되지 않는 이유를 알고 싶습니다. 어떤 도움도 감사 할 것입니다. arduino 1.0.5 IDE를 사용하고 있습니다.Arduino GSM 방패가 연결되지 않습니다
#include <GSM.h>
#define PINNUMBER ""
GSM gsmAccess(true);
GSM_SMS sms;
void setup() {
// initialize serial communications and wait for port to open:
Serial.begin(9600);
char code = 'X';
while(true) {
Serial.println("try Access");
code=gsmAccess.begin("",true,false);
Serial.println("\nAfter Access");
if(code==GSM_READY){
Serial.println("connected");
break;
}
if(code==CONNECTING) {
Serial.println("code is CONNECTING");
} else {
Serial.println(code);
delay(1000);
}
}
}
시도했지만 작동하지 않았습니다. 감사합니다. –