This library adds support for the ADS129X series of analog front-ends from Texas Instruments to the Arduino environment. It is based on work by conorrussomanno.
So far the library has only been tested with the ADS1298. In theory it should be compatible to all members of the ADS129X family.
The library support two modes of operation: interrupt-driven and polling. Both modes use the same API and your sketch still has to poll for available data even when in interrupt mode. However in interrupt mode the response time to changes on the DRDY line is much quicker and thus higher sample-rates are supported (tested with up 8 kSPS). Interrupt mode is the default, to switch to the old polling operation add this to your sketch as the first line:
#define ADS129X_POLLING
When multiple devices share the SPI bus you will want to use polling mode as not to interfere with the SPI transactions of other devices.
Two example sketches are included. One transfers the data to a PC via a serial connection, the other uses a nRF8001 BTLE chip to send it to a phone. Both were tested using a custom board including an Olimex nRF8001 breakout and a Teensy 3.1.
Libraries required by the sketches:
See LICENSE