Home/Support/Support Forum/can you have i2c bus and use microcontroller's dio pins same time?

can you have i2c bus and use microcontroller's dio pins same time?

0 votes
can you have i2c bus and use microcontroller's dio pins same time for different purposes?

thanks
asked Jul 7, 2020 in RF Solutions and XBee by edunn106 New to the Community (25 points)

Please log in or register to answer this question.

1 Answer

+1 vote
Only if you are using different DIO/ADC pins for the different functions. That is, you can't use the same pin for both functions.
answered Jul 7, 2020 by mvut Veteran of the Digi Community (15,225 points)
Makes sense. That would be my approach. I2C would be on the data(SDA) and clock(SCL) lines. Separate I/O would be carried out on the other available DIO pins.
...