fixes in config stuff
This commit is contained in:
@ -97,11 +97,12 @@ void ADS1210::setGain(uint8_t gain) const {
|
||||
writeRegister(ADDR_CMR2, cmr);
|
||||
}
|
||||
|
||||
void ADS1210::begin(uint8_t csPin, uint8_t drdyPin) {
|
||||
void ADS1210::begin(uint8_t csPin, uint8_t drdyPin, int eepromAddr) {
|
||||
static bool onlyOnce = false;
|
||||
|
||||
m_csPin = csPin;
|
||||
m_drdyPin = drdyPin;
|
||||
m_eepromAddr = eepromAddr;
|
||||
|
||||
// initialization of SPI
|
||||
// Serial << "Start SPI initialization ... ";
|
||||
|
Reference in New Issue
Block a user