I don't have this specific PIC here, but yes it seems that once you add the OWOUT line, things goes bad... at least on MPSIM.
EVEN THAT ONE..
Code:
INICIO:
PORTC.0=1
PAUSE 1000
PORTC.0=0 ' LED ON / OFF OK
GOTO INICIO
OWOUT PORTA.1,1,[$33] ' <----------- PIC STOP , NO GOTO INICIO
Do nothing. It seems to work on a 16F877 so far... worth a report to Melabs.
EDIT: OK OK... Bruce beat me
EDIT2: Solution work as expected.
Last edited by mister_e; - 13th December 2007 at 18:42.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks