-
-
Save dauble/575b065bfb6bd4a7bc65b26b42576a4f 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 | |
if(isset($_GET['trigger']) && $_GET['trigger'] == 1) { | |
error_reporting(E_ALL); | |
exec('gpio write 7 0'); | |
usleep(1000000); | |
exec('gpio write 7 1'); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment