RTClib and 1.0.1

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
jcarrr
 
Posts: 29
Joined: Thu Aug 26, 2010 12:03 am

RTClib and 1.0.1

Post by jcarrr »

After using RTClib with the logger shields for as long as there have been Adafruit logger shields, suddenly Ver 1.0.1 hates it. Lots of this:

Code: Select all

C:\___a_projects\libraries\RTClib\RTClib.cpp:7:22: warning: WProgram.h: No such file or directory
C:\___a_projects\libraries\RTClib\RTClib.cpp:17: warning: only initialized variables can be placed into program memory area
C:\___a_projects\libraries\RTClib\RTClib.cpp: In constructor 'DateTime::DateTime(uint32_t)':
C:\___a_projects\libraries\RTClib\RTClib.cpp:51: warning: comparison between signed and unsigned integer expressions
C:\___a_projects\libraries\RTClib\RTClib.cpp: In member function 'uint8_t RTC_DS1307::isrunning()':
C:\___a_projects\libraries\RTClib\RTClib.cpp:133: error: 'class TwoWire' has no member named 'send'
C:\___a_projects\libraries\RTClib\RTClib.cpp:137: error: 'class TwoWire' has no member named 'receive'
C:\___a_projects\libraries\RTClib\RTClib.cpp: In static member function 'static void RTC_DS1307::adjust(const DateTime&)':
C:\___a_projects\libraries\RTClib\RTClib.cpp:143: error: 'class TwoWire' has no member named 'send'
This goes on for another 100 lines or so

The code compiles fine with 0022 and mpide.

Probably something really simple. Is there an easy fix?

User avatar
pburgess
 
Posts: 4161
Joined: Sun Oct 26, 2008 2:29 am

Re: RTClib and 1.0.1

Post by pburgess »

Have you updated to the latest version of the library after installing Arduino 1.0?

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”