some test code to access a relay via USB.
Please note that the Makefile is for MacOS.
The files hid.c and hidapi.h are from the "HIDAPI - Multi-Platform library for communication with HID devices." and are here used under a "BSD-Style license", see "LICENSE-hidapi.txt"