Added PIO Peripheral connection code