begin()
描述
检查 Arduino GSM shield 的状态并且重新启动。在呼叫 GSMModem.getIMEI()
前必须先呼叫 GSMModem.begin()
。
语法
modem.begin()
参数
无参数
回传
int
:如果 Arduino GSM shield 状态正常回传 1,如果回传不是 1 ,代表有错误发生
See also
The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.