Dhanya Maliakal 6f60f011d1 something
2016-11-03 16:26:11 +01:00
..
2016-11-03 16:26:11 +01:00
2016-11-03 13:22:19 +01:00
2016-11-03 13:22:19 +01:00

add the following to /etc/rc before using programfpga command before cat motd


#registering 7th and 9th pin to linux kernel
echo 7 > /sys/class/gpio/export
echo 9 > /sys/class/gpio/export
#define direction for the linux kernel
echo in  > /sys/class/gpio/gpio7/direction
echo out > /sys/class/gpio/gpio9/direction
#needed, else all write errors when server starts up, because linux tries to take control fof gpio
echo 1 > /sys/class/gpio/gpio9/value