I have written a short program in C to flash an led on and off for period of 1 second flash. When simulating in mplab using the following #use delay (clock=20000000) output_high(PIN_B0); delay_ms(1000); the program steps onto the delay line and gets hung up. Any suggestions -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics