PRLED function updates.

Changed PRLED functions to use PrepareWriteData.
Added polarity feature for dealing with common cathode/anode LEDs.