Fixed BAMOutputPins to use pincount() instead of being hardcoded to 8.