Skip to content

Multiple i2C sensors + St link V2 possible? #517

Answered by Mboudali
Mboudali asked this question in Q&A
Discussion options

You must be logged in to vote

Answering my own question.

Yes it is possible. Any two pins can be configured as an I2C comm port. You need to define the pins in the variant.h file.
You also need to be careful with the selection as some pins are used by BLE library and others for other protocols.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Mboudali
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant