You don't need to. They shut down automatically when not in use.
Code: Select all
$status = shell_exec("/usr/local/bin/gpio -g read 17");
It is. But you might want to set it to zero at the start.sbaratheon wrote: ↑Sun Jan 14, 2018 2:47 pmI was under the impression that $SECONDS was an internal variable (http://tldp.org/LDP/abs/html/internalvariables.html)