Zanduino / MCP7940

Arduino Library to access the MCP7940M, MCP7940N and MCP7940x Real-Time chips
GNU General Public License v3.0
37 stars 22 forks source link

Bug in begin() #8

Closed dtran11 closed 6 years ago

dtran11 commented 6 years ago

I think this line:

writeByte(MCP7940_RTCSEC,readByte(MCP7940_RTCHOUR)&B10111111);

Should be

writeByte(MCP7940_RTCHOUR,readByte(MCP7940_RTCHOUR)&B10111111);

Thanks for the project.

SV-Zanshin commented 6 years ago

Thanks for noting that - I missed that small, but important, error.

SV-Zanshin commented 6 years ago

Fixed in Release 1.0.5b