Quote: Originally Posted by
greenman100 
Last known - this will maintain a value for as long as the PIC has power.
I recognize that it would be nice to save the last known state into non-volatile RAM, but I need to look into whether the PIC has the ability to do that. I'm not sure.
I can make it software based but that would mean it will go to the last known state,
only when the computer is on. So if output 1 is set to last known state as a default setting, and is on right when the computer shuts down, the output will shut off while the computer is off. Then once the computer and program start up again, it will go back to on with no user touch.
We could set it through hardware, but like you said, that is constant power draw.