Tino de Bruijn committed 279ce41

renamed Arduino to Board

Comments (0)

Files changed (2)


     def close(self):
-class MockupArduinos(pyfirmata.Arduinos):
+class MockupBoards(pyfirmata.Boards):
     def __init__(self, identifier='', arduinos_map={}, values_dict={}):
         self.values_dict = values_dict
         for a in arduinos_map.values():
-            self[a['name']] = MockupArduino(name=a['name'], type=a['board'], values_dict=values_dict)
+            self[a['name']] = MockupBoard(name=a['name'], type=a['board'], values_dict=values_dict)
     def update_values_dict(self, values_dict=None):
         if values_dict is not None:
     def reset_taken(self):
-class MockupArduino(pyfirmata.Arduino):
+class MockupBoard(pyfirmata.Board):
     def __init__(self, port='', type="normal", values_dict={}, name=''): = name
 pyfirmata.DigitalPort = MockupPort
 pyfirmata.Pin = MockupPin
-Arduinos = MockupArduinos
-Arduino = MockupArduino
+Boards = MockupBoards
+Board = MockupBoard


 CMDS.add_handler('REPORT_VERSION', update_version)
-class Arduinos(dict):
+class Boards(dict):
     A dictonary to manage multiple Arduinos on the same machine. Tries to
     connect to all defined usb ports, and then tries to fetch the arduino's
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.