gpio object and pointer syntax corrections