--_002_lf5or9xfkcln2skaterswarbrick_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RussellMc writes: >> 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. Adding banksel T1CON clrf T1CON to the setup code doesn't seem to help (and according to the datasheet, I shouldn't expect it to, since T1CON should be brought up as 0x00). > 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. Yep, but I think that's addressed by the config word containing _FOSC_INTOSC, which it already does. Thank you for the suggestions! Rupert --_002_lf5or9xfkcln2skaterswarbrick_ Content-Type: text/plain; name="ATT00001.txt" Content-Description: ATT00001.txt Content-Disposition: attachment; filename="ATT00001.txt"; size=208; creation-date="Sun, 06 Jan 2013 12:10:52 GMT"; modification-date="Sun, 06 Jan 2013 12:10:52 GMT" Content-Transfer-Encoding: base64 LS0gDQpodHRwOi8vd3d3LnBpY2xpc3QuY29tIFBJQy9TWCBGQVEgJiBsaXN0IGFyY2hpdmUNClZp ZXcvY2hhbmdlIHlvdXIgbWVtYmVyc2hpcCBvcHRpb25zIGF0DQpodHRwOi8vbWFpbG1hbi5taXQu ZWR1L21haWxtYW4vbGlzdGluZm8vcGljbGlzdA0K --_002_lf5or9xfkcln2skaterswarbrick_-- .