2

Can I use the pins on the P1 connector that are reserved for SPI, UART and I2C for general purpose input/output instead? Can these pins be programmed for input/output like the other 8 non-reserved IO pins of the P1 connector?

1

Yes you can, any of the GPIO pins except the 5v, 3v3 and Ground (GND) can be used as general purpose I/O pins in software.

The only thing to be aware of is any expansion boards that need the SPI / I2C / UART will need those particular pins to be set to the correct mode.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.