You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
467 B

require_once __DIR__."/../vendor/autoload.php";
require_once __DIR__."/GLOBALS.php";
* This example demonstrate a possibility, but not a best practice. When using
* the tick handler, make sure the code being executed has ticks declared.
use NoccyLabs\Gpio\Gpio;
use NoccyLabs\Gpio\GpioTickHandler;
$gpio = new Gpio(true);
$gpiotick = new GpioTickHandler();
while(true) {