Is it correct that the VCNL4000's address is not changeable, i.e., fixed as 0x13?
If so, do you have an example posted using a Port Expander, etc., along the lines described here:
http://www.gammon.com.au/forum/?id=10940
to allow multiple VCNL4000's to be independently addressed by one Arduino?
I only ask because I imagine that any examples you post will be quicker to digest and implement than the one above.
Thanks much,
Cliff
Using multiple VCNL4000's on one I2C Bus
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Using multiple VCNL4000's on one I2C Bus
From what I can see in the datasheet, it's a single-address chip, yeah.
If you need to work with more than one you can use something like a multiplexer, or run multiple software I2C channels.
If you need to work with more than one you can use something like a multiplexer, or run multiple software I2C channels.
Please be positive and constructive with your questions and comments.