Change method for tracking edges that behaves more like a real GPIO