I've got an 18m2 connected to an oled (128 x 64) display and also a DS1307 clock (just the chip not a module). With ONLY the clock chip connected to the bus the clock portion of the program works fine (display portion is disabled). I can see the seconds, minutes etc. incrementing on the debug screen. However, as soon as I connect the display to the bus and do a download I get all 165's in the debug screen for the seconds, minutes etc. This tells me there's a bus problem. This happens even when I kill the power to the display (it's SCL and SDA lines are still connected to the bus). I've got a 4.7k resistor going to +5, one on the SCL and one on the SDA line. Nothing else is connected to the 18m2 except it's SCL and SDA pins. As soon as I remove the display from the SCL and SDA the problem vanishes.
I've got the display section of the program disabled, so the 18m2 shouldn't even see the other i2c setup, that's used to talk to the display.
Attached is the program. I haven't debugged the message portion of the program that displays the time.
Any idea's out there?
I've got the display section of the program disabled, so the 18m2 shouldn't even see the other i2c setup, that's used to talk to the display.
Attached is the program. I haven't debugged the message portion of the program that displays the time.
Any idea's out there?
Attachments
-
9.4 KB Views: 34