groovereiter Posted November 11, 2007 Report Share Posted November 11, 2007 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 advancegroovereiter Quote Link to comment Share on other sites More sharing options...
DragonMaster Posted November 11, 2007 Report Share Posted November 11, 2007 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. Quote Link to comment Share on other sites More sharing options...
groovereiter Posted November 12, 2007 Author Report Share Posted November 12, 2007 What do you mean with inverting the signal? Is there a setting in one of the config files? Quote Link to comment Share on other sites More sharing options...
TK. Posted November 12, 2007 Report Share Posted November 12, 2007 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. Quote Link to comment Share on other sites More sharing options...
groovereiter Posted November 21, 2007 Author Report Share Posted November 21, 2007 Thanks for the quick reply (and for this great project of course).Everything works fine now. This saved a lot of time. Greets,Groovereiter Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.