adds method to reset GPIO pins