ds1307

Forum for problems or queries regarding Flowcode Comms Components. Eg LIN, I2C, SPI, RS232, CAN, IrDA etc

Moderators: Benj, Mods

Post Reply
stevel
Posts: 19
Joined: Sat Sep 05, 2009 2:18 pm
Contact:

ds1307

Post by stevel »

on the ds1307 datasheet it says you have to clear bit 7 from 1 to 0 how do i do this

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: ds1307

Post by medelec35 »

Hello stevel

For clearing and setting bits, take a look here:
http://www.matrixmultimedia.com/mmforum ... 85&p=13370
Martin

User avatar
Dan81
Valued Contributor
Valued Contributor
Posts: 268
Joined: Sun Jan 15, 2006 4:07 pm
Location: Albi France
Been thanked: 60 times
Contact:

Re: ds1307

Post by Dan81 »

Hello Stevel

A little example (not tested) to clear the bit Clock Halt.

If you want to use DS1307 :
http://www.matrixmultimedia.com/mmforum ... 307#p18528

Daniel
Attachments
clock-halt.fcf
not tested
(4.5 KiB) Downloaded 439 times

Post Reply