Jump to content
THIS IS THE TEST SITE OF EUROBRICKS!
THIS IS THE TEST SITE OF EUROBRICKS!

Bilout

Eurobricks New Members
  • Joined

  • Last visited

  1. 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
  2. Bilout replied to JopieK's post in a topic in LEGO Train Tech
    Hello all ! I'm new here and I'm fan of Lego trains. I use an arduino to control Lego power functions and I want also control powered up with the arduino. Is it possible ? If yes, do you know a document which explains how control powered up with an arduino ? Thank you for your help ! Bilout
Sponsored Links