pic microcontroller discussion list <> wrote on Thursday, June 12, 2003 3:47 PM: > Finally I found the bug! > > Turns out PR2 was in bank1 and I forgot to switch banks before > adjusting it! Result was PR2 always 255, and I never changed it! No > wonder my adjustments to mnatch range for duty never took hold. And did you have ERRORLEVEL -302 at the top of the code, or just ignore the warning messages as the assembler tried to tell you about the fault? BTDTGTTS, but not since I started using the ^0x80 method mentioned on the piclist occasionally. Nigel -- Nigel Orr, Design Engineer nigel@axoninstruments.co.uk Axon Instruments Ltd., Wardes Road,Inverurie,Aberdeenshire,UK,AB51 3TT Tel:+44 1467 622332 Fax:+44 1467 625235 http://www.axoninstruments.co.uk -- 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