This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function | |
import hid | |
import time | |
# Ziel des Skripts: Ansteuern von USB-Relais via HID | |
# Durch die Identifikation der HID-Devices via device_path | |
# koennen z.B. zwei Relais an zwei USB-Anschluessen angesteuert werden. | |
# Problem: Nach an- und abstecken der Relais bekommen die Relais neue | |
# Pfade zugewiesen. Eine eindeutige Identifikation scheint nicht mgl. zu sein. |