How to use the pyfirmata2.Arduino.AUTODETECT function in pyFirmata2

To help you get started, we’ve selected a few pyFirmata2 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github alexandremendoncaalvaro / face-access / arduino.py View on Github external
def __init__(self):
        self.board = Arduino(ConfigArduino.USB_PATH) if ConfigArduino.USB_PATH != '' else Arduino(Arduino.AUTODETECT)
    def set_relay(self, enable):

pyFirmata2

Use your Arduino as a data acquisition card under Python

MIT
Latest version published 25 days ago

Package Health Score

69 / 100
Full package analysis

Popular pyFirmata2 functions

Similar packages