3 3lectrokid Member Dec 14, 2009 #1 how do i connect the PIC16F874 to the DS1307. on the PIC i see SDO,SDI and SCK pins but i dont understand how to wire the sensor up to them
how do i connect the PIC16F874 to the DS1307. on the PIC i see SDO,SDI and SCK pins but i dont understand how to wire the sensor up to them
D dougy83 Well-Known Member Most Helpful Member Dec 14, 2009 #2 3lectrokid said: on the PIC i see SDO,SDI and SCK pins Click to expand... Those pins are for SPI. If you're after I2C, use SCL & SDA pins.
3lectrokid said: on the PIC i see SDO,SDI and SCK pins Click to expand... Those pins are for SPI. If you're after I2C, use SCL & SDA pins.