php-linux-gpio/examples/GLOBALS.php

12 lines
187 B
PHP
Raw Permalink Normal View History

<?php
// Set your GPIO here if they are different from the defaults!
define("LED_A", 0);
define("LED_B", 1);
define("BTN_A", 2);
2014-06-13 23:32:20 +00:00
// Pretty exceptions
NoccyLabs\Crap\Crap::activate();