Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

RTClib and 1.0.1
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

RTClib and 1.0.1

by jcarrr on Mon Sep 17, 2012 8:34 pm

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 | TOGGLE FULL SIZE
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?
jcarrr
 
Posts: 29
Joined: Thu Aug 26, 2010 12:03 am

Re: RTClib and 1.0.1

by pburgess on Mon Sep 17, 2012 8:52 pm

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

pburgess
 
Posts: 4055
Joined: Sun Oct 26, 2008 2:29 am

Please be positive and constructive with your questions and comments.