problem in accessing registers of DS1307
Moderator: Benj
-
- Posts: 9
- Joined: Mon Sep 08, 2014 6:06 pm
- Has thanked: 4 times
problem in accessing registers of DS1307
Is there any way i can access registers of rtc DS1307 in flowcode macros.
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
Re: problem in accessing registers of DS1307
Hi
The DS1307 uses the I2C bus
This is only available in the Pro version of Flowcode.
I have posted some example programs in the past for FC5 using this. Do a search on the forums.
Now the easiest way to use it is with the DS1307 component posted by Jordy.
http://www.matrixtsl.com/mmforums/viewt ... 307#p51810
Again, it will only work in the Pro Version as it still uses the I2C bus in within the component.
The DS1307 uses the I2C bus
This is only available in the Pro version of Flowcode.
I have posted some example programs in the past for FC5 using this. Do a search on the forums.
Now the easiest way to use it is with the DS1307 component posted by Jordy.
http://www.matrixtsl.com/mmforums/viewt ... 307#p51810
Again, it will only work in the Pro Version as it still uses the I2C bus in within the component.
1 in 10 people understand binary, the other one doesn't !
-
- Posts: 9
- Joined: Mon Sep 08, 2014 6:06 pm
- Has thanked: 4 times
Re: problem in accessing registers of DS1307
Thank you John. I have read that post by Jordy, its quite helpful. But there is still one problem. I dont understand how to read time from DS1307. It always gives the time which i write on it. I mean the clock doesnot tick.
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
Re: problem in accessing registers of DS1307
Have you got it connected correctly.
Have a look at the circuit in my tutorial post for an example.
http://www.matrixtsl.com/mmforums/viewt ... 307#p25768
If you want to post your flowchart on here we can have a look see if we can help
Have a look at the circuit in my tutorial post for an example.
http://www.matrixtsl.com/mmforums/viewt ... 307#p25768
If you want to post your flowchart on here we can have a look see if we can help
1 in 10 people understand binary, the other one doesn't !
-
- Posts: 9
- Joined: Mon Sep 08, 2014 6:06 pm
- Has thanked: 4 times
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
Re: problem in accessing registers of DS1307
Glad you've got it working
Thanks for letting us know
Thanks for letting us know
1 in 10 people understand binary, the other one doesn't !