gpio basic init and set