I2C and LTC2944 Battery Gas Gauge [SOLVED]

@armor Thanks for pointing me to the LTC2943 library.
I made the following changes to the LTC2944 library to make it work with the Particle Electron.

  1. Remove Wire.h include from the LTC2944.h
  2. Remove Arduino.h, stdint.h, Linduino.h, LT_I2C.h, and Wire.h includes from LTC2944.cpp.
  3. Add Particle.h include to LTC2944.cpp.

As a result I am reading appropriate voltages, current, charge, and temperature.

Raw Charge Energy: 32743
Raw Battery Voltage: 23433
Raw Charge Current: 32576
Raw Temperature: 38816
Raw Status code: 0
Converted Charge Energy: 46.39
Converted Battery Voltage: 25.03
Converted Charge Current: -0.03
Converted Temperature: 28.92