import CHIP_IO.GPIO as GPIO
import time
GPIO.cleanup()
GPIO.setup("XIO-P2", GPIO.OUT)

print "Toggling  XIO-P1 10 times..."
for i in range(0,10):
        GPIO.output("XIO-P2", GPIO.LOW)
        time.sleep(0.1)
        GPIO.output("XIO-P2", GPIO.HIGH)
        time.sleep(0.1)
GPIO.cleanup()
