How to use pyFirmata2 - 1 common examples

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 7 days ago

Package Health Score

67 / 100
Full package analysis

Popular pyFirmata2 functions