MCP23008 2 channel relay controller and Grove I2C sensor
I want to attach the Grove Digital_Light_TSL2561 sensor to the MCP23008 Relay Shield for Particle Photon. The library for it doesn't exist in the Particle Web IDE. I created the .cpp and .h file for the library and copy and pasted the contents into it but they include arduino.h and wire.h files. How can I get this to work with this shield or other I²C sensors as well that have their own libraries that don't exist in the Particle IDE?