Removed reference comments lol

master
parent 682598daac
commit 79591510a6

@ -433,18 +433,3 @@ tput smcup
refreshpins
display
mainmenu
################################################
#pi@pizero:/sys/class/gpio/gpio2 $ cat direction
#out
#pi@pizero:/sys/class/gpio/gpio2 $ cat edge
#none
#pi@pizero:/sys/class/gpio/gpio2 $ cat uevent
#pi@pizero:/sys/class/gpio/gpio2 $ cat value
#0
# gp=/sys/class/gpio
# for pin in `ls $gp`; do if [[ "$pin" == "gpio"* && "$pin" != *"chip"* ]]; then dir=`cat $gp/$pin/direction`;[ `cat $gp/$pin/value` -eq 0 ] && echo "pin $pin ($dir) disabled" || echo "pin $pin ($dir) enabled";fi; done

Loading…
Cancel
Save