This is my PHP library for controlling a Robot Electronics ETH008 unit. This unit has eight programmable relays and an Ethernet connector.
Here are the files:
-
functions.php This is the library with the functions you need to call
-
tests.php These are the unit tests for the functions library ; it shows how you use the functions