New interrupt code

using a falling edge instead of a change. It makes sense I think,
haven't tested it yet though.