I've got a Dallas DS1307 slaved to my 28X, no problems on the I2C side of things, but on pin 7 (the one that's meant to flash at a set frequency) is doing something odd.
If I set a 1Hz frequency, for 0.5s the pin will just be at 0v. Then the other 0.5s, there's 50Hz mains noise appearing at about 10mV amplitude, which I suspect the oscilloscope leads are picking up as I'm powering the circuit from an SLA battery (regulated of course). An LED won't light on the pin, whether going to Vcc or ground.
Can anyone shed some light? I don't need the light flashing, it's just weird is all...
If I set a 1Hz frequency, for 0.5s the pin will just be at 0v. Then the other 0.5s, there's 50Hz mains noise appearing at about 10mV amplitude, which I suspect the oscilloscope leads are picking up as I'm powering the circuit from an SLA battery (regulated of course). An LED won't light on the pin, whether going to Vcc or ground.
Can anyone shed some light? I don't need the light flashing, it's just weird is all...