Add timer-based delay helper function
Add expect_response helper function for wait timeouts
Rework main with new helpers, better comments, new LED assignments
Remove delay function from misc