Hi, I had been programming pic these few days but fails to get what i want. I decided to use pic to decode dmx512 signals and translate them to pwm signals for lightnings. I alreadly found my way to decode the signal with constant monitor on the dmx512 signal. But i cannot think of any way to convert the data to 3 channel pwm in 256 levels. I try to call a function to decode the signal and then another signal to generate pwm, but the time to decode the signal is too long and create a huge delay in my pwm. Any idea to use pic or/with other components to get what i want?