From 79591510a6dff16968ad53b0d874df5adb1ebf32 Mon Sep 17 00:00:00 2001 From: WhatTheMike Date: Thu, 28 Apr 2022 13:16:43 -0400 Subject: [PATCH] Removed reference comments lol --- bash/gpio | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/bash/gpio b/bash/gpio index 53964cf..c167510 100755 --- a/bash/gpio +++ b/bash/gpio @@ -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