Quantcast
Channel: Seeedstudio Forum
Viewing all articles
Browse latest Browse all 6612

GPRS Shield and Auto On?

$
0
0
Yes, it has. You have to solder a jumper called "JP" and use Digital Pin 9.

From wiki

Power on/off by D9
Unsolder pad JP default. Solder it if you wanna use software to power on/off the GPRS shield. Set the D9 to a high level, it means the button is pressing.
The pad of JP besides the ISP port.

This is the code, but BE CAREFULL, it is both for power down or for power up the shield.

void powerUpDown()
{
pinMode(9, OUTPUT);
digitalWrite(9,LOW);
delay(1000);
digitalWrite(9,HIGH);
delay(2000);
digitalWrite(9,LOW);
delay(3000);
}

Statistics : Posted by ret.tech • on Tue Dec 02, 2014 2:19 am • Replies 1 • Views 56

Viewing all articles
Browse latest Browse all 6612

Trending Articles