12.07.2015 Views

waspmote-gsm-gprs-pr.. - Libelium

waspmote-gsm-gprs-pr.. - Libelium

waspmote-gsm-gprs-pr.. - Libelium

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Working with Hibernate mode9. Working with Hibernate modeWhen using the GPRS_Pro module with Hibernate mode, a little trick is necessary. Hibernate mode is woken up by the RTC’sinterrupt pin which is connected to the socket1’s RX pin. So, it is necessary to add the following lines to get the GPRS_Promodule working after calling PWR.ifHibernate:{// Checks if we come from a normal reset or an hibernate resetPWR.ifHibernate();delay(3000);RTC.ON();RTC.clearAlarmFlag();RTC.OFF();// now, GPRS_Pro can start}-32- v0.5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!