RTCモジュール:DS3231のライブラリ。
http://github.com/JChristensen/DS3232RTC
サンプルコンパイル時にエラーが出ます。
①streaming
はここのDownload The latest version of Streaming is available at Streaming5.zip.
のリンクから入れる。
②error: 'tmElements_t' has not been declared
はTimeLib.hを追加したら解決。
きっと、Arduino本体のソースが変わったのかな。
# include <DS3232RTC.h> //http://github.com/JChristensen/DS3232RTC
# include <Streaming.h> //http://arduiniana.org/libraries/streaming/
# include <Time.h> //http://playground.arduino.cc/Code/Time
# include <Wire.h> //http://arduino.cc/en/Reference/Wire
↓
# include <DS3232RTC.h> //http://github.com/JChristensen/DS3232RTC
# include <Streaming.h> //http://arduiniana.org/libraries/streaming/
# include <Time.h> //http://playground.arduino.cc/Code/Time
# include <TimeLib.h>
# include <Wire.h> //http://arduino.cc/en/Reference/Wire