Hi all, My stimulus-file still doesn't work. Am I forgetting some trivial thing? MPLAB is in simulator-mode. Debug->simulator stimulus->pin stimulus->enable then choose file midi_box.sti 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 STEP RA3 RA2 RA1 RA0 RA5 7 1 1 1 1 1 10 1 1 1 1 0 ! startbit 42 1 1 1 1 0 ! b0 74 1 1 1 1 0 ! b1 106 1 1 1 1 0 ! b2 138 1 1 1 1 0 ! b3 170 1 1 1 1 0 ! b4 202 1 1 1 1 0 ! b5 234 1 1 1 1 1 ! b6 266 1 1 1 1 1 ! b7 298 1 1 1 1 1 ! stopbit 400 1 1 1 1 0 ! startbit pgm nr 432 1 1 1 1 0 ! b0 464 1 1 1 1 0 ! b1 496 1 1 1 1 0 ! b2 528 1 1 1 1 0 ! b3 560 1 1 1 1 0 ! b4 596 1 1 1 1 0 ! b5 628 1 1 1 1 1 ! b6 660 1 1 1 1 1 ! b7 692 1 1 1 1 1 ! stopbit