Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

DS-1337 [GETDATETIME] Error

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
gertc

Bascom Member



Joined: 06 May 2006
Posts: 88

canada.gif
PostPosted: Sat Oct 01, 2016 12:45 am    Post subject: DS-1337 [GETDATETIME] Error Reply with quote

Hello,
I looked in the forum and found a posting "DS1307 Clock problem" from Thu Dec 07, 2006 9:24 pm. In the posting there where an excample by Kimmi (moderator) that i used. I changed the the cpu to an ATMega1284, and changed all the LCD statements to PRINT statements.
Everything is working fine.
Now, when I add all the code into an existing program, I get the following Error when I do a Print Date$, or Print Time$

Error: 61 Line : 4 Label not found [GETDATETIME], in File : C:\PROGRAM FILES (X86)\MCS ELECTRONICS\BASCOM-AVR\LIB\DS1307CLOCK.LIB

If I remove the print statements there is no compile error.
Any suggestions?

Thanks,
GerrySC

(BASCOM-AVR version : 2.0.7.9 , Latest : 2.0.7.8 )
Back to top
View user's profile
i.dobson

Bascom Expert



Joined: 05 Jan 2006
Posts: 1534
Location: Basel, Switzerland

switzerland.gif
PostPosted: Sat Oct 01, 2016 9:52 am    Post subject: Reply with quote

Hi,

Show us code that reproduces the Problem. Maybe you just missing a config Statement or loading a lib.

Regards
Ian Dobson

_________________
Home of AVRTimer, the Bascom timer value calculator.
http://www.planet-ian.com

Walking on water and writing software to specification is easy if they're frozen.
Back to top
View user's profile Visit poster's website
gertc

Bascom Member



Joined: 06 May 2006
Posts: 88

canada.gif
PostPosted: Mon Oct 03, 2016 10:24 pm    Post subject: Reply with quote

Hi Ian,
I feel stupid. I have a large program, and when I tried to reduce it so I could post a smaller program on the forum, I realized that forgot the whole "Getdatetime" routine.
Everything is working fine.

Thanks for your response.
GerrySC
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum