working on second adc

This commit is contained in:
Emanuele Trabattoni
2026-04-17 13:24:43 +02:00
parent bea29dc8f5
commit dce6b0fd4f
3 changed files with 63 additions and 59 deletions

View File

@@ -89,10 +89,6 @@ void ADS1256::InitializeADC()
digitalWrite(m_SYNC_pin, HIGH); // RESET is set to high
}
#ifndef ADS1256_SPI_ALREADY_STARTED // Guard macro to allow external initialization of the SPI
_spi->begin();
#endif
// Applying arbitrary default values to speed up the starting procedure if the user just want to get quick readouts
// We both pass values to the variables and then send those values to the corresponding registers
delay(200);