Similar problem here in a simulation in 2005!!! http://www.microchip.com/forums/m616254.aspx He notes .... > and Timer1 incremented on every rising edge of the RA5... but it wouldn'= t :) > because not the T1CKI pin is the clock source! > (T1CON_TMR1CS <7:6> !=3D 10) Retranslate that and it may be relevant. __________ And from late 2012 https://www.ccsinfo.com/forum/viewtopic.php?p=3D168949 He says: I now realise my mistake, I had set the clock as external, should of been INTRC_IO, which frees up RA5, so that APFCON1.0 now sets A5 to PWM output. The problem with Timer 6 is on MPLAB SIM, when I reprogram the header AC2444043 Timer 6 now works. Russell McMahon --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .