Hello! I got both a general I2C LCD for Arduino and a DS3231 clock module. As far as I found, both wiring schematics go to the SCL and SDA pins of the mega. The problem is, there is onesingle pair! And there are 2 needed, if not more since I was thinking of adding more modules.
How can I connect both the LCD and the DS sensor at the same time to the Arduino? Does it really matter if it's SCL+SDA or not? Asking since I tried wiring one of the modules to an analog and digital pair of pins, but none worked ( I checked it with an I2C scan, and only the one connected to the SCL/SDA pair appeared).
I2C is a bus system which means that you connect multiple devices to it and the correct device interacts with data on the bus because each device has a different device ID which you use to send/receive data from it
Use an I2C scanner sketch to determine the addresses of each device connected to the SDA and SCL pins and use those in your sketch