Sergey Dryga wrote: > I use CCS-ICD40 debugger/programmer and can step through and see > variables in the "watch" tab. The problem is that I have 2 boards > and PICs behave differently with the same firmware. That is what > bugs me. The internal clock runs at 8MHz on both chips, and CCP2/PWM > frequency is the same. Is it possible that the PIC got zapped by > static and shows this behavior? Something like this is always possible. When the votes are 1:1 (working/not working), you need a third voter (board) :) Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist