[Logo] Anarduino and HopeRF Community Forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics     [Groups] Back to home page 
[Register] Register / 
[Login] Login 
RTC example and Time.h  XML
Forum Index » Anarduino
Author Message
SadE



Joined: 18/07/2014 06:51:14
Messages: 15
Offline

What Rime library are you're using for you miniwireless RTC library and example ?
I get the pjrc.com Time library , but it failed to compile. :-/
Rick



Joined: 30/05/2014 22:08:56
Messages: 93
Offline

Hi SadE,
It was quite some time ago that I came across the Time library, so I don't recall where it came from. However, the author and credits would be preserved appropriately in the source files. I'll also add a link to the miniwireless webpage.
Cheers,
-Rick
 Filename Time.zip [Disk] Download
 Description Arduino Time library
 Filesize 19 Kbytes
 Downloaded:  1 time(s)

SadE



Joined: 18/07/2014 06:51:14
Messages: 15
Offline

thx Rick,
It seems it's arduino gcc version related. const keyword have to be added in order to use pragma PROGMEM for a const variable.
sensorhub



Joined: 06/08/2014 04:21:11
Messages: 11
Offline

Hello Rick,
I'm having the same problem compiling the rtc_test.ino file in the MCP7940RTC library. The error I get from arduino 1.0.5-r2 on Windows 7 is

\Arduino\libraries\MCP7940RTC/MCP7940RTC.h:20: error: 'time_t' does not name a type


I also cannot downloadyour Time.zip file above. I get

"Attachment support is disabled or inacessible. Cannot proceed." message from your site.

Can you help?

thanks
Rick



Joined: 30/05/2014 22:08:56
Messages: 93
Offline

Hi,

Didn't realize about the attachment issue, thanks for pointing it out.

Here's a link for the file: http://www.anarduino.com/docs/Time.zip

Cheers..
 
Forum Index » Anarduino
Go to:   
Powered by JForum 2.1.9 © JForum Team