If you do want the sequence like this :
YOU push BUTTON and release - YOU want the PC to bootup
ITPS turn power rail on - ITPS apply battery power to the PC
ITPS wait 1 sec - ITPS wait for PC to settle down on receiving battery power
ITPS trigger PCBUTTON - ITPS bootup the PC
.
.
.
YOU push BUTTON again and release - YOU want PC to shutdown
ITPS trigger PCBUTTON - ITPS shutdown the PC
ITPS wait 45 sec - ITPS wait for PC to shutdown
ITPS turn power rail off - ITPS remove battery power to the PC
.
.
.
ITPS repeat cycle
Bookmarks