Hi, I am a total newbie to the Raspberry Pi, so any help will be greatly appreciated. I am working on a unit that needs to run through a repeated test cycle while current draw is logged. A two way switch is used to operate the unit. The complete cycle is: press "up" for 4 seconds, release, then pres...