Für 36 LEDs benötigt man übrigends nur 7 Pins wenn man charlieplexed:
http://www.josepino.com/pic_projects...ntrol_leds.jpc