blob: e429131a76711edfb2ddca7c579cc6b77a4d752a [file] [log] [blame]
Patrick Venturec8eec652017-04-10 15:21:32 -07001#!/bin/bash
2
3GPIO_BASE=$(cat /sys/class/gpio/gpiochip*/base)
4GPIO_NUM=$(($GPIO_BASE + 24 + 3))
5
6echo 1 > /sys/class/gpio/gpio${GPIO_NUM}/value
7sleep 5
8echo 0 > /sys/class/gpio/gpio${GPIO_NUM}/value
9
10exit 0;