Naguissa / uRTCLib

Really tiny library to basic RTC functionality on Arduino. DS1307, DS3231 and DS3232 RTCs are supported.
https://www.foroelectro.net/librerias-arduino-ide-f29/rtclib-arduino-libreria-simple-y-eficaz-para-rtc-y-t95.html
GNU Lesser General Public License v3.0
87 stars 24 forks source link

fix reading and writing to eeprom #3

Closed hyperion11 closed 6 years ago

hyperion11 commented 6 years ago

i dont know, why, but int reading was not correct. So i rewrite reading and writing prototypes. check - float int and char values reading and writing correct. and fix

include

on my maple mini with "Wire.h" was not compile correct. and delete wire.begin(); i think this string must be in setup section of sketch. Becouse there is conflics with multiple i2c libraries. If wire.begin() execute twice - system halts.

Naguissa commented 6 years ago

I've only applied the removal of Wire.begin. That was needed when library was created, few years ago.

Commit: https://github.com/Naguissa/uRTCLib/commit/7a0bbecd6044b69d80019e358e7ffe8a3c6516b0