Hello!!! I am in project with 16F877/04 and I having some problems with=20 interruptions. They are configured as follows: -> Timer0 is updating multiplexed led displays, reading keyboard, and make calculations from ADC, all every 5ms -> Compare2 is detecting zero-crossing from AC, to fire a TRIAC by cycle completed. TRIAC is powering a load via PID -> Timer2 is fired by Capture2 to fire the TRIAC for 2ms, 115.o later zero-crossing, to power load allways with 110 VAC (the Timer2 itself makes 5ms to fire and 2ms to optocoupler still activated).=20 The problem is a "flicker effect" on led displays. The data is correct, but the brightness is floating, and generating noise that is shifting=20 the syncronism signal.=20 Someone had seen this problem? I have used display multiplexing with Timer0 without zero-crossing with no problems. In other work, same with zero-crossing, but using other display way. But, using both with Timer0 is the problem. I accept suggestions!! Tanks in advance.... JB -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics