You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a DS1307 chip.
Compiling RTCLib version 1.10.0 under Arduino 1.8.7 works.
Compiling RTCLib version 2.1.4 under Arduino 2.3.2 the program hangs on rtc.readnvram(0); after re-power up:
I've tried changing the definition to
uint8_t SpotlightLRpos;
but still hangs, sometimes immediately after upload, sometimes after power off-on.
I should mention that use of the clock functions work just fine, so it appears that the I2C communication is not the problem.
Example:
DateTime now = rtc.now();
The text was updated successfully, but these errors were encountered:
Using a DS1307 chip.
Compiling RTCLib version 1.10.0 under Arduino 1.8.7 works.
Compiling RTCLib version 2.1.4 under Arduino 2.3.2 the program hangs on rtc.readnvram(0); after re-power up:
RTC_DS1307 rtc;
int SpotlightLRpos;
setup()
...
SpotlightUDpos = rtc.readnvram(0);
...
I've tried changing the definition to
uint8_t SpotlightLRpos;
but still hangs, sometimes immediately after upload, sometimes after power off-on.
I should mention that use of the clock functions work just fine, so it appears that the I2C communication is not the problem.
Example:
DateTime now = rtc.now();
The text was updated successfully, but these errors were encountered: