Things used in this project

Hardware components:
Screen%20shot%202016 07 25%20at%2012.46.01%20pm
Pocket C.H.I.P.
×1
09590 01
LED (generic)
×1
Mfr 25frf52 100r sml
Resistor 100 ohm
×1

Code

The code of project blink.pyPython
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()

Credits

H5vc9pdmkdz8vtgljke9
Giovanni Gentile
27 projects • 38 followers
Graduated in Psychology expert in new technologies and communication, with expertise in electronics, automation and home automation.
Contact

Comments

Add projectSign up / Login