hi.........
how to wake up from sleep mode
using timer how to do that
but i couldn't understand the real timer counter program and timer program
how to use this application to wake up from sleep mode
hi.........
how to wake up from sleep mode
using timer how to do that
but i couldn't understand the real timer counter program and timer program
how to use this application to wake up from sleep mode
system on
it should send the data for one minute and then sleep again it should wake up and send the data... continously
send and sleep ,send and sleep and so on......
The chip will wake up when it gets an interrupt.
You can use the app_timer for that. Each time the timer expire/timeouts, you can send your data in the timeout_handler. See this page. You can take a look at e.g. the ble_app_hrs example in the SDK, and see how it used there.
can i use the for loop ..... to wake up ....
like for(i=0;i<=60;I++ )
so data will print 60 times after that it will go to sleep
and again i want to make it run...it should go to for loop
..how can i do ...is it possible
ps_anu said:can i use the for loop ..... to wake up ....
No. Did you try the app timer?
ps_anu said:can i use the for loop ..... to wake up ....
No. Did you try the app timer?