Added edge setting to gpio