Skip to content

Instantly share code, notes, and snippets.

@nadavmatalon
Last active October 24, 2016 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nadavmatalon/24bc01bf222b5f4535de36b5eef29dde to your computer and use it in GitHub Desktop.
Save nadavmatalon/24bc01bf222b5f4535de36b5eef29dde to your computer and use it in GitHub Desktop.
WSWire
  1. I2C Communications Library

This library uses the 'WSWire' library for I2C communication between the contoller IC (Master) and the ADS1110 (Slave), so it is NECESSARY to have it installed prior to using the current libraty.

Alternatively, if you wish to use the 'Wire' - or any other I2C library for that matter - simply change the following line the the ADS1110.h file:

#include <WSWire.h>

to this:

#include <Wire.h>  // or to whatever I2C library name you are using.

As noted above, whichever library you intend to use for this purpose must be alredy installed for the ADS1110 library to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment