   int _data = -1;
   Wire.requestFrom(i2caddr, 1);
   if(Wire.available()) {
-    _data = Wire.receive();
+    _data = Wire.read();
   }
   return _data;
 }

void setup() 
{
  Wire.begin(); // join i2c bus (address optional for master)
  expanderSetInput(INaddr, 0xFF);
  Serial.begin(57600);
  Serial.println("Waiting for connection...");
  RFduinoBLE.begin();

#include <SI114.h>
#include <Si114_defs.h>
#include <Adafruit_FRAM_I2C.h>
