Lilypad Charlieplexing

Hey everyone

I'm working on a project attempting to control 20 LEDs using 4 pins on either side of the USB port on the Lilypad Arduino USB board.

Somehow the LEDs connected to pins 3, 9, 10, and 11 aren't lighting up the way that they should. I've got 10 LEDs charlieplexed off the 4 analog pins on the other side of the board that are all working just fine.

Does anyone have any advice on getting all the LEDs to light in the proper order?

Maybe it's your sketch. Care to share?