Resume on power up

Status
Not open for further replies.

StudentSA

Member
Hi, Im using a PIC16F676 and was wondering if there is a way to "remember" my settings when the unit is switched off.

When I power on the unit again I have a one byte value that needs to be remembered from the last time it was on.

any advise is appreciated.

Thanks
 
Does it have data EEPROM?, any PIC's do - simply store the value in that, and read it at power up.

If that PIC doesn't, then choose a diferent one.
 
If you use the sleep mode of the PIC you can have it draw [nearly] no current, and remember whatever's in RAM. Just means that you can't actually remove the supply (i.e. use a soft 'off' switch).
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…