siteswapjuggler / ADS8688a

ADS8688a Library
GNU General Public License v3.0
18 stars 4 forks source link

Is your library compatible with Teensy 4 and 4.1 ? #5

Open jsmoconnor opened 5 months ago

jsmoconnor commented 5 months ago

Hi

Do you know if your library is compatible with the Teensy chips Version 4 and 4.1 ?

Many thanks James

siteswapjuggler commented 5 months ago

It's a very good question, as far as I know it should not be a problem as I only use standard arduino methods. The only thing is to check the default SPI pins of Teensy 4/4.1 in arduino core.

jsmoconnor commented 5 months ago

Hi thanks for your reply. I have got the library working. I had to take the SPI.begin() out of the Instanciation routines and put it in the Setup function in my code. For some reason if I did not do this the program never got to the setup routine. Also I changed the ADS8688::ADS8688(byte cs) to ADS8688::ADS8688(uint8_t cs) this matches the data type in the .h file. thanks for a great library.

Regards James

siteswapjuggler commented 5 months ago

Well I'll prepare a commit to test this thanks for your sharing;

Sylvain