Is there a way to do this? I'm currently using the following code:
void powerUpOrDown()
{
Serial.println("Powering up or down...");
pinMode(9, OUTPUT);
digitalWrite(9,LOW);
delay(1000);
digitalWrite(9,HIGH);
delay(2000);
digitalWrite(9,LOW);
delay(3000);
}
I'm looking for code that turns on the shield but won't turn it off, and vice versa.