I have a problem with my Arduino Uno. If I start my program, an application I've created, gets the data okey from my Arduino Uno, but if I unplug my Arduino Uno my serial port connection remains open. Even after I plug the device in again, the program can't write to my Arduino. It's like my connection becomes frozen.
With Arduino Duemilanove I don't remember having this problem. What I want is: when I disconnect my Arduino Uno, my serial Port connection should close. Is there a reset on setup()
or something like that?