fhnw-ise-qcrypt / mcp3564

C Library for configuring the MCP3561/2/4 1/2/4 channel 24 Bit sigma-delta ADC on STM32
Apache License 2.0
16 stars 10 forks source link

OFFSET CAL register not working #7

Closed paul-thelu closed 1 year ago

paul-thelu commented 1 year ago

Hi there, First off thank you for the useful library. Just found an issue which prevent the user from using OFFSET CAL register.

Turns out the issue was a typo in mcp3564.h lines 232 to 234:

mnemocron commented 1 year ago

That was a good catch, thank you :)