In mplab c18, you declare a function like this: void blink(void); and the function is written like this: void blink(void) { // your function here } -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu