-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
INTERNAL_EEPROM_PORT undefined. #1
Comments
I have come across this issue too, but it doesn't happen when I actually upload to the P1AM-200 module that the library is made for. It only happens when I compile without being connected to the P1AM-200 board or having the board selected. |
I am using a lilygo t-echo and run into the same issue. Cannot compile: libraries\PCF8563_RTC\src\PCF8563.cpp: In member function 'void PCF8563Class::initialize()': |
I was able to compile it doing this:
INTERNAL_EEPROM_PORT.begin();
INTERNAL_RTC_PORT.begin();
|
The PCF8563_RTC will not compile in the arduino IDE,
Around line 270 in the pcf8563.cpp the following code exists.
The result when a compile is attempted is:
ibraries\PCF8563_RTC\src\PCF8563.cpp:371:3: error: 'INTERNAL_EEPROM_PORT' was not declared in this scope
INTERNAL_EEPROM_PORT.begin();
The MCU is a SAMD processor on an Adafruit QT board.
I can't find a declaration for the "INTERNAL_EEPROM_PORT" in the PCF8563.h file either.
Is there a typo? Or missing include. The error occurs on all of the examples included with the library. (SetEpoch for example).
Arduino IDE is 1.8.19
The text was updated successfully, but these errors were encountered: