Trying to pull data from an ADS1115 to display in mA in console

I’m using the following board through I2C from

I’m just doing some testing and are trying to see the data from the 4 channels and the 1 transmitter I have on channel one in console, but are not sure about how to have it show up.

I thought of using Particle.publish, but all I’m getting is "null"
Here is a link to the NCD example code I’m using

Any help would be appreciated.

Got it:
Particle.publish(“Input 1 reading”, String(ma) + " mA");


Thank you for posting your solution!

Thank you very much. This helped me out a lot. Now if I can get it to start logging data I will be all set. Lol. But thats a whole other deal. :slight_smile: