-->
Page 5 of 9

Re: GPIO Pin Interrupt Wake up for deep sleep

PostPosted: Fri Feb 20, 2015 5:47 pm
by cendev
Why it had to be a minute :D? It took so long sorry about that.. tried some more combinations :D

it awakes at the end of the minute no interrupts :) same result for lua that i compiled :/

Edit : BTW i'm trying to wake the module up from the GPIO 4 as in the example i sent :D it's pin 4 that i must try right?

Re: GPIO Pin Interrupt Wake up for deep sleep

PostPosted: Fri Feb 20, 2015 5:59 pm
by alonewolfx2
cendev wrote:Why it had to be a minute :D? It took so long sorry about that.. tried some more combinations :D

it awakes at the end of the minute no interrupts :) same result for lua that i compiled :/

Edit : BTW i'm trying to wake the module up from the GPIO 4 as in the example i sent :D it's pin 4 that i must try right?

gpio_pin_wakeup_enable(GPIO_ID_PIN(4), GPIO_PIN_INTR_HILEVEL); :D

Re: GPIO Pin Interrupt Wake up for deep sleep

PostPosted: Fri Feb 20, 2015 6:08 pm
by cendev
alonewolfx2 wrote:
cendev wrote:Why it had to be a minute :D? It took so long sorry about that.. tried some more combinations :D

it awakes at the end of the minute no interrupts :) same result for lua that i compiled :/

Edit : BTW i'm trying to wake the module up from the GPIO 4 as in the example i sent :D it's pin 4 that i must try right?

gpio_pin_wakeup_enable(GPIO_ID_PIN(4), GPIO_PIN_INTR_HILEVEL); :D


one last thing :D pin 4 is ok, can you compile it again with pin 4 enabled and system_deep_sleep(0) instead of a min?

Re: GPIO Pin Interrupt Wake up for deep sleep

PostPosted: Fri Feb 20, 2015 6:10 pm
by alonewolfx2
cendev wrote:
alonewolfx2 wrote:
cendev wrote:Why it had to be a minute :D? It took so long sorry about that.. tried some more combinations :D

it awakes at the end of the minute no interrupts :) same result for lua that i compiled :/

Edit : BTW i'm trying to wake the module up from the GPIO 4 as in the example i sent :D it's pin 4 that i must try right?

gpio_pin_wakeup_enable(GPIO_ID_PIN(4), GPIO_PIN_INTR_HILEVEL); :D


one last thing :D pin 4 is ok, can you compile it again with pin 4 enabled and system_deep_sleep(0) instead of a min?

ok here it is