add export gpio during direction set if not exported during initialisation