my gpio can't change the state after wake up
Q1:I want led on when establish a connection,and off when go to sleep,
my code as the below
void periph_init(void)
{
....
GPIO_ConfigurePin(GPIO_LED_PORT,GPIO_LED_PIN, OUTPUT, PID_GPIO, false);//P03 set to low
}
void user_before_sleep(void)
{
...
GPIO_ConfigurePin(GPIO_LED_PORT,GPIO_LED_PIN, OUTPUT, PID_GPIO, false);//set to low before sleep for Power saving
}