You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you maybe reading from the wrong register. Register 8 holds the trim value but register 7 holds the enable bit value. You had it correct in the set function.
In the function
bool RTCC_MCP7940N::GetCourseTrimEnabled() { return this->GetFlag(0x08, B100); }
you maybe reading from the wrong register. Register 8 holds the trim value but register 7 holds the enable bit value. You had it correct in the set function.
void RTCC_MCP7940N::SetCourseTrimEnabled(bool enabled) { this->SetBits(0x07, B100, enabled << 2); }
The text was updated successfully, but these errors were encountered: