In Stop Mode Sleep the pins will keep their state - apart from the wake pin you might select in the System.sleep()
command.
Perfect! Then that sounds like a suitable avenue to take! I wanted to play with the System.sleep()
command anyhow to implement a battery backup βmodeβ which would put the system into a state of sleep when ever the switch to battery power is made in the event of a power outage.