Fix setting of GPIOs
Added code to allow chaning of GPIOs, you have up to 5 seconds after setting each GPIO to set the next GPIO, after 5 second of incativity, the accorsy will reset the GPIOs to the new values, assuming they are all seperate values, otherise it wil reset to the original values