php-linux-gpio/examples/GLOBALS.php

12 lines
187 B
PHP

<?php
// Set your GPIO here if they are different from the defaults!
define("LED_A", 0);
define("LED_B", 1);
define("BTN_A", 2);
// Pretty exceptions
NoccyLabs\Crap\Crap::activate();