- Code: Select all
#include <Time.h>
#include <TimeAlarms.h>
#include <LiquidCrystal.h>
#include <MenuBackend.h>
#include <Wire.h>
#include <Adafruit_MCP23017.h>
#include <Adafruit_RGBLCDShield.h>
#include <RTClib.h>
Adafruit_RGBLCDShield lcd = Adafruit_RGBLCDShield();
void setup(){
}
void loop(){
}
Even without code, there is still a compiling error.
In file included from clockRTC.cpp:8:
C:\~\arduino-1.0.1\libraries\RTClib_Master/RTClib.h:17: error: expected unqualified-id before '/' token
C:\~\arduino-1.0.1\libraries\RTClib_Master/RTClib.h:17: error: expected `)' before '/' token
C:\~\arduino-1.0.1\libraries\RTClib_Master/RTClib.h:17: error: expected `)' before '/' token
C:\~\arduino-1.0.1\libraries\RTClib_Master/RTClib.h:17: error: expected `)' before '/' token
Also while I have your attention, I'm looking how to adjust the RTC clock DS1307 using buttons on the adafruit RGBLCD shield. I think it should be something like...
- Code: Select all
if (lcd.readButtons == BUTTON_UP){
RTC.adjust( +1min/-1min):
}
I have been trying to figure this one out for hours