I2C data communication allows the user to attach multiple devices to a Particle Photon using only a few available I/O pins. This video explains I2C communication using the Wire library, addressing and code to enable the Photon to communicate with external devices.
Maker.io - https://www.digikey.com/en/maker
Digi-Key’s Blog – TheCircuit https://www.digikey.com/en/blog
Connect with Digi-Key on Facebook https://www.facebook.com/digikey.electronics/
And follow us on Twitter https://twitter.com/digikey