Hi Damian, Thanks for your reply.Hi Ana,
if the interrupts cause this flickering as Mike elaborated above, there is not much you can do about it with this microcontroller. If you want somthing simple I'd recommend using WS2812 LED strips. They have a one wire protocol and generate their own PWM signal, you just have to feed them the data (24bit RGB). There is a good C library that makes use of ASM code for the proper timing. I used it in some of my projects already, works great on an ARM M0 and the author tested it on Atmel MCUs and Arduino. It may also work on a PIC but I am not familiar with those. The code is here: https://github.com/cpldcpu/light_ws2812
I have about 100 meters of RGB led flex and the controllers that i made for my self. I wood like to make my system work properly, but if it's not possible it will stay as it is.
Thank you very much. Ana