Code: Select all
FIRSTDING=`/usr/local/bin/gpio read 15`
sleep 0.1
SECONDDING=`/usr/local/bin/gpio read 15`
if [ "$SECONDDING" = "$FIRSTDING" ]; then
echo ding
fi
I'm curious as to what may cause that? Because all I have on my board right now is a button to short GPIO 5 and 6, and then the one I'm working on(which will be an off button)Burngate wrote:such as interference spikes