Just a bit more on the code above, the 1st I2CWRITE sets the pins as output, the 2nd turns them all ON.