RTClib by NeiroNx from Library Manager not aligned to the last version?


i have ide 1.8.1 , downloaded rtclib neironx using library manager.
compiling project library give error
code: [select]
sketch\rtclib.cpp: in member function 'uint8_t ds1302::begin()':

rtclib.cpp:309: error: 'write0' not declared in scope

  write0(0, sec);
               ^

exit status 1
'write0' not declared in scope

this error corrected on 5 nov 2016 (substituting write0 write)
https://github.com/neironx/rtclib/commit/afb30d6a28fb4c4ad1d097f07a247e4ed16018c4

why older version?

i explained on github issue:
https://github.com/neironx/rtclib/issues/2#issuecomment-272133532
until that's fixed can either download library github:
https://github.com/neironx/rtclib/archive/master.zip
and manually install or edit rtclib.cpp fix bug.


Arduino Forum > Using Arduino > Installation & Troubleshooting > RTClib by NeiroNx from Library Manager not aligned to the last version?


arduino

Comments

Popular posts from this blog

DHT11 Time out error using v0.4.1library

Sketch upload fails with Java error (___REMOVE___/bin/avrdude)!

Arduino Uno + KTY81/210 temperature sensor