1. stringfellow
  2. pyFirmata

Commits

Tino de Bruijn  committed 1bc5de2

uncommented 2 secs pause for auto-reset

  • Participants
  • Parent commits ff2604a
  • Branches default

Comments (0)

Files changed (1)

File pyfirmata/pyfirmata.py

View file
  • Ignore whitespace
     def __init__(self, port, type="arduino", baudrate=57600):
         self.sp = serial.Serial(port, baudrate)
         # Allow 2 secs for Arduino's auto-reset to happen
-        # self.pass_time(2)
+        self.pass_time(2)
         self.type = type
         self.setup_layout(BOARDS[type])