change high to low on pins