How to deal with lost serial connection to arduino
in
Integration and Hardware
•
3 months ago
Hi,
I have a sketch which takes serial data from the arduino parses it and sends it to thingspeak.
The trouble is for some reason, if the arduino is unplugged and i lost the serial connection, when its replugged in it doesnt pick back up again
Its an arduino uno by the way
Im looking for some neat way to say. If the serial connection is lost, close the current port and create a new one. any ideas?
I have a sketch which takes serial data from the arduino parses it and sends it to thingspeak.
The trouble is for some reason, if the arduino is unplugged and i lost the serial connection, when its replugged in it doesnt pick back up again
Its an arduino uno by the way
Im looking for some neat way to say. If the serial connection is lost, close the current port and create a new one. any ideas?
1