StudentSA Member Nov 3, 2010 #1 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
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
Nigel Goodwin Super Moderator Most Helpful Member Nov 3, 2010 #2 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.
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.
D dougy83 Well-Known Member Most Helpful Member Nov 4, 2010 #3 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).
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).