#!/bin/bash
gpio mode 7 out
for i in `seq 1 10`
do
if [ $(($i%2)) == 0 ]
then
gpio write 7 0
else
gpio write 7 1
fi
sleep 1
done