On 11/28/2013 12:03 PM, Neil wrote: >> Trying to figure out why code isn't working, I've whittled it down to >> this oddity: >> >> This works, toggling LED's repeatedly as expected... >> >> >> However, when I switch delay functions and adjust the time units >> accordingly, the code stalls at the delay... >> If you think it's down to the difference between the two delay routines,=20 I would compile each version and examine the output assembly listing. --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .