Created
October 1, 2018 00:07
-
-
Save ricardoreis/92ab9cc0711a81ce7796a463943e5891 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$setmode17 = shell_exec("/usr/local/bin/gpio -g mode 17 out"); | |
$gpio_on = shell_exec("/usr/local/bin/gpio -g write 17 1"); | |
?> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment