Richard S wrote: > Critical correction to my last e-mail!! > > I am using a 20 MHZ resonator not a 20KHZ so that is probably the > problem as the Crystal is a 32.768 KHZ so mine is probably too fast to > see the LED's I would guess. Maybe I need to buy a 32.768 KHZ Crystal. You'll want to change "_LP_OSC" to "_HS_OSC". Also, the advice you were given (to replace the TRIS and OPTION instructions) was incomplete... The person giving the advice neglected to tell you that you'll need to change pages before the MOVWFs (with "BSF STATUS,RP0" and change back after (with "BCF STATUS,RP0"). -Andy === Andrew Warren -- aiw@cypress.com === Principal Design Engineer === Cypress Semiconductor Corporation === === Opinions expressed above do not === necessarily represent those of === Cypress Semiconductor Corporation -- 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