Open jlhuerfanor opened 4 years ago
Did not want to create new issue, and question is relevant to this. How can I use 2 ADS1118 modules with single SPI bus as is described in corresponding documentation with your library. There is no function in your library documentation or text explaining this, I can't deduce usage form .h and .cpp file, and afraid to overwrite it over your library because I can intervene in CS handling and just break everything. So can I (and how if able) use your library to interact with two ADS1118 modules via single SPI bus?
I've seen that for AVR hardware SPI the driver doesn't call SPI.beginTransaction, therefore in case you are working with multiple SPI devices, transaction settings could be overriden by another device. I've tested this using Ethernet Shield and two ADS1118, and after each ethernet call the adc gets misconfigured. I've suggest to add the instruction into AVR blocks too.