Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
DS1307 clock chip Simple support with test/demo program v1

 
Post new topic   Reply to topic    Forum Index -> Files
Author Message
stevech



Joined: 23 Feb 2006
Posts: 656

Posted: 06 March 2006, 4:56 AM    Post subject: DS1307 clock chip Simple support with test/demo program v1 Reply with quote

EDIT: rev 2 uploaded. Small change in test program to avoid 15 second skew when setting time via the serial port.

Enclosed is a zip file of a folder containing a complete ZBasic project.
The project consists of 3 files:
1. Test and demonstration program
2. DS1307 I/O support including a means to set the date/time via a serial port command from a DOS batch command
3. Date/time utilities

This was tested with a DS1307 PC board with battery from Sparkfun.com

http://www.sparkfun.com/commerce/product_info.php?products_id=99

cheers. Hope there's no bugs (it's my first ZBasic program)

steve
PS: The zip file here is large because the PDFs for the DS1307 are enclosed.



DS1307Test1 rev2.zip
 Description:

Download
 Filename:  DS1307Test1 rev2.zip
 Filesize:  342.25 KB
 Downloaded:  4042 Time(s)

Back to top
mikep



Joined: 24 Sep 2005
Posts: 765
Location: Austin, TX

Posted: 10 August 2010, 1:38 AM    Post subject: Reply with quote

I tried to download this file but only got a 9K zip file which could not be opened. Can anyone else reproduce this problem?
Back to top
Don_Kirby



Joined: 15 Oct 2006
Posts: 329
Location: Long Island, New York

Posted: 10 August 2010, 1:43 AM    Post subject: Reply with quote

I get the following:

Command Line Output wrote:
Archive: /home/don/Downloads/DS1307Test1 rev2.zip
[/home/don/Downloads/DS1307Test1 rev2.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.


-Don
Back to top
GTBecker



Joined: 18 Jan 2006
Posts: 457
Location: Cape Coral

Posted: 10 August 2010, 1:44 AM    Post subject: DS1307 clock chip Simple support with test/demo program v1 Reply with quote

Opens fine with WinRAR.

Tom
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> Files Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group