How to clean up Serial port buffer

indeed, this is the case! And also realized that is not very efficient to wait '\n' inside interrupt handler. so maybe i re-think this little further when get some sleep....

thanks all
/mikko/

johnwasser:
Your problem is that:

strcpy(buff, "");

just puts a '\0' in the first position of the buffer.