Originally shared by Miser Technologies Well,

Originally shared by Miser Technologies

Well, I’ve built up one of the new expanded interface Avatar modules and temporarily jumper wired it to the Sparkfun Photon weather shield. I’m designing an Avatar to Photon shim board that will connect the two boards together, but jumper wires do the trick for now. In this article I’m sharing some information on interfacing to the I2C devices on the weather shield. I used the PIC MPLAB X Code Configurator I2C code to read the Temperature and Pressure sensors. The pressure sensor didn’t work with the stock generated code due to the pressure sensor using the repeated start I2C protocol. I discuss what this is and how I modified the generated code to be able to access the device with the existing Code Configurator generated code. Enjoy!
http://www.miser-tech.com/2016/04/esp8266-weather-reading-the-i2c-sensors-step-1-3/