Hi all !
Before, thank you for the job, it is great !
I use the attached program to control a train. I want my python script is run forever and I read the serial to start connection and stop connection.
But I have a problem because after I executed the first loop (hub connected -> control train -> hub disconnected), when I execute a second loop, impossible to connect to the hub.
I think the problem is that the first loop is not stopped.
In the script, there is the line "start(system)", maybe a line "stop(system)" or somthing like this is necessary ?
Thank you for your help and sorry for my bad english.
Corentin