Hibernate Equivalent for the 28X2

Mikler

Member
Hi!

I have just upgraded from the 28X1 to the 28X2 for a project.

However I see that I have lost the 'Hibernate' command which I was using with the 'manual wakeup' switch circuit on P65

I would be grateful for some newbie 'guidance'/code snippet that I can use instead of this.

Thanks

Mikler
 

hippy

Ex-Staff (retired)
Hibernation requires on-chip hardware which the 28X2 doesn't have. You can use DOZE to sleep for a while, check if the button is pushed and if not enter sleep mode again.
 
Top