Interrupt update
Add comments
Snap initial state of pin