Added digital input and output as separate pins