Software emulated serial using hardware timers for improved compatibility