LED-Rings & Meter LEDs wrong polarity. Software solution?

Hi,

I accidentially switched the cathodes/anodes of the meter and ring leds.

Is there any chance of getting them to work without turning them around?

Maybe with the patterns or something?

Any help would be great since they are heavily glued and ready soldered.

Thanks in advance

groovereiter

Hi, software or hardware could solve your problem. You will need to invert the signal and connect the common side to positive rather than negative.

What do you mean with inverting the signal? Is there a setting in one of the config files?

In lc_leds.inc, you have to search for the keywords “CATHODES” and “ANODES”. Below these lines, add "  comf MIOS_PARAMETER1, F" to invert the pattern.

Note that there must be a whitespace (space or tab) between the first column and the “comf” instruction, otherwise the assembler will interpret the instruction as a label, and fail.

Best Regards, Thorsten.

Thanks for the quick reply (and for this great project of course).

Everything works fine now. This saved a lot of time.

Greets,

Groovereiter