Hello -
I was planning to use the SDA and SCL pins on an Arduino UNO to interface to the VL6180 Sensor pcb. The hookup guide shows the connection is instead to the A0 and A1 pins of the UNO.
Now the hookup guide for the VL6180 Breakout pcb has the I2C connected to the SDA and SCL pins of the 3.3V Pro Mini.
So here is my question - How does the Arduino code/Library make this determination by either choosing the A0/A1 on the UNO or choosing the SDA/SCL on the 3.3V Pro Mini?
I looked at the following files to see where this is defined, but I’m not seeing it:
a) Sparkfun_VL6180X_demo.ino
b) Sparkfun_VL6180X.h
c) Sparkfun_VL6180X.cpp
d) Wire.h
e) Wire.cpp
Any suggestions, hints whatever would be appreciated.
My setup is working fine between the UNO and the VL6180X Sensor PCB. No issues there - this is just a nagging question for me that I’d at least like to know why… Thanks