NorthernWidget / DS3231

Communicates between Arduino-programmed AVR and Maxim DS3231 RTC: splice of Ayars' (http://hacks.ayars.org/2011/04/ds3231-real-time-clock.html) and Jeelabs/Ladyada's (https://github.com/adafruit/RTClib) libraries
The Unlicense
183 stars 81 forks source link

DS3231_test:16:8: error: 'DS3231 clock' redeclared as different kind of symbol DS3231 clock; ^~~~~ #54

Closed Givy closed 2 years ago

Givy commented 2 years ago

Hi, I am trying to load this example Arduino on a Nano attached to a DS3231 RTC and it fails with these error messages. Is there an update available?

Using library DS3231 at version 1.1.0 in folder: S:\MyProject\AVR\Arduinosketchbook\libraries\DS3231 Using library Wire at version 1.0 in folder: \AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\Wire exit status 1 'DS3231 clock' redeclared as different kind of symbol

Givy commented 2 years ago

Changed "clock" to "clock0", it worked OK. Thx.