added gpio for pd