#!/usr/bin/python
import time
import fox

print "Pressing button"
print "Type ctrl-C to exit"

led = fox.Pin('J7.3','low')
button = fox.Pin('J7.5','in')

while True:
	if button.getValue()==0:
		led.on()
	else:
		led.off()


