Interfacing i2c lcd and mlx90614 with arduino yun A4 and A5 pins

Hello and thank you to anyone who can help.
I am trying to connect both i2c lcd and mlx90614 infrared sensor with arduino yun board, I know both can connect and do work with the SDA and SCL pins on yun board, however I have no luck connecting one device to SDQ and SCL pins and the other to A4 and A5 pins, which seems you can do.

I am using the following libraries:

#include <Wire.h>
#include <Adafruit_MLX90614.h>
#include <LiquidCrystal_I2C.h>


I don't know your board, but if I understood you are trying to connect two I2C devices to it.
I2C is a bus, you connect them both on SDA and SCL pins.
What makes you think you should use A4 and A5?

1 Like

Thanks so much, I really didnt know how to approach and thought to connect both directly to board, but seems you suggest both devices can connect via the same port, didnt realize but a newb.
Thank you and will source that and try it out

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.