Hi, I have a project that uses a real time clock to trigger a relay on and off at certain times. I'm trying to add a 128x64 i2c lcd, but the real time clock already uses the i2c pins that was supposed to be used for the lcd. Is it possible to connect more than one device to the pins?
Edit: sorry i meant i2c (scl and sda pins), not spi
Edit 2: I just googled the question again with i2c instead of spi and found an answer thanks for the help anyway
Let's have the (weblink) specifications of each of these devices, a statement of which Arduino you have and a schematic of how you presently have them connected and how you propose to connect them.
It is not "daisychaining" with SPI because it is a bus and the 3 main connections are in parallel. That is MOSI, MISO and Clock are all shared between devices. Only the CS (Chip Select) is unique per device and it is brought low when the device may access the bus. Most real time clocks, incidentally, are not SPI but I2C.
Paul__B:
Let's have the (weblink) specifications of each of these devices, a statement of which Arduino you have and a schematic of how you presently have them connected and how you propose to connect them.