Update ATtiny13A code with new pinout & logic; implement busy_wait