aydin@darien.depsa.com wrote: > > In TRISA RB5 is set to be an Output line which is the only varying > line in the stimulus file. > > Change TRISA=b'00111111' > > This should show the changes in RB5. > > Aydin > > > This file is attached. Watch window contains PORTA. TRISA=b'00011111' > > When stepping trough the program, PORTA never changes. What am I doing > > wrong? > > > > Hans > > > > When you were all saying trisa should be b'00111111', I realised the 16c86 doesn't have a RA5. Whoops. (turns red...) Sorry guys, thanks for all the help. Works fine now Hans