LED Driver with the Photon

Have a look in this thread: SPI or I2C I/O Expander that has PWM function