picoC: add time() function, USART bugfix

Add a time() function for easier control loops especially PIDs.
USART-functions are now with a functioning timeout parameter. This is a
workaround for defective PIOS-functions.