-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The configuration register should contain chop, refsel, pseudo, channel, burn, refdet, buf, polarity, and gain. pg. 27
However, updateConf() is sending chop, channel, burn, buf, polarity, gain, notch, and filter.
#ifdef DEBUG_AD7193
Serial.println(F("updateConf()"));
#endif
uint32_t command = AD7193_CONF_CHAN(1 << _channel) |
(_polarity * AD7193_CONF_UNIPOLAR) |
_gain |
_filter |
_notch_filter |
_chop |
_buf |
_burnout;
this->beginTransaction();
this->setRegister(AD7193_REG_CONF, command, 3);
this->endTransaction();
}```
Metadata
Metadata
Assignees
Labels
No labels