main laid out for 7segments/uart multitasking)