If it does not do the fast blink, that may imply that there is data on the Serial port. Even one character is enough to exit from the HSERIN loop.
Maybe it is better to have a different LED port for the mainloop and another for the test loop.
Ioannis
Bookmarks