if the led function as an indicator then the blue wire should connect to resistor than to led than to the ear (wing) so that the equipment that gives power to led to light up, if equipment not working than led not light up, can be rest assure that brown wire connect wit center rod (1 wit spring), blue for the led & yellow/green to the other ear for extra grounding. to test u can use your head unit wire if easy to get @ & use only the remote (acc @ key @ remote) usually blue & ground wire (black) ( for safer type of testing so that only have power when key is on only) so that u can use tape & test which wire that actually the ground wire for ur unit.