Arduino-like millis example. 

Add USART1 library to the project, to print out data over USART1.