Help With time.h, time using RTC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help With time.h, time using RTC

515 Views
SecondTechCo
Contributor IV

I would like to use time functions from the EWL.    All of the fucntions in time.h are based on time in seconds since a certain date.   I would like to use the microcontroller RTC interrupt to generate the time in seconds.  I cannot find anything which lest me pass in the time seconds to the time functions.  

Labels (1)
0 Kudos
2 Replies

252 Views
CrasyCat
Specialist III

Hello

 

  You need to configure the EWL libraries in order to enable usage of time function.

 

  Please refer to section "Configuring Time and Date" in "EWLCReference.pdf" for more info.

 

CrasyCat

0 Kudos

252 Views
SecondTechCo
Contributor IV

Thanks.  That's was helpful !  My problem turned out that when I used the EWL there are multiple files which get included automatically that redefine the flags used by EWL for truing on and off time support.  I would hope this would only be included in time.h.

0 Kudos