# PB4 -> gpio2 - pin 13 # PB10 -> gpio2 - pin 15 echo 2 > /sys/class/gpio/export echo 3 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio2_pb4/direction echo out > /sys/class/gpio/gpio3_pb10/direction for i in $(seq 1 10); do echo 1 > /sys/class/gpio/gpio2_pb4/value sleep 0.001 echo 1 > /sys/class/gpio/gpio3_pb10/value sleep 0.001 echo 0 > /sys/class/gpio/gpio2_pb4/value sleep 0.001 echo 0 > /sys/class/gpio/gpio3_pb10/value sleep 0.001 done