main.c missing from last commit. main's file header is updated as it has different functionaility to example now. uart now prints 'a' repetatively in main loop