Commits

Fabian Affolter committed 96116e8

Set a default port

  • Participants
  • Parent commits 6509f2d

Comments (0)

Files changed (1)

File examples/pyfirmata-gui.py

         self.imagemenuitem5.connect('activate', self.quit)
         self.imagemenuitem10.connect('activate', self.show_aboutdialog)
         self.window.show_all()
-        self.pin = None
+        self.pin = 2
         self.port = PORT
         self.board = pyfirmata.Arduino(self.port)
         self.statusbar.push(1, ("Connected to %s" % PORT))