Content originally posted in LPCWare by alan_nn on Tue Apr 01 22:08:29 CDT 2014
PCA9538 is 8-bit I2C-bus and SM Bus low power I/O port with interrupt and reset. This sample code demonstrate how to configure all the 8 bit GPIO as output, then send out series data to drive the 8 pcs LEDs as Marquee effect.