Joined: 02 Jun 2009 Posts: 123 Location: The Netherlands
wake up from sleep on pin change 10F222
Posted: Fri Aug 07, 2009 3:49 am
Is there a function which can be used when the 10F222 is waked up from sleep due to a pin change? In the datasheet there is a GPWUF flag which is set when the pic is waked up from sleep from pin change. In the 10F222.h file there a some options with the restart_cause() but not "on pin change".
I want to change a variable when the pic wakes up from sleep. So any other option is also welcome.
IDE: 4.092
mvanvliet
Joined: 02 Jun 2009 Posts: 123 Location: The Netherlands
Posted: Fri Aug 07, 2009 5:13 am
Maybe I've already solved this problem with adding the following to my program:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum