RasPiO Breakout
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE.md
README.md
port-test-pwm1.py
port-test-pwm2.py
port-test-pwm3.py
port-test.py

README.md

#raspio-breakout

https://github.com/raspitv/raspio-breakout

RasPiO® Breakout Python scripts

By Alex Eames http://RasPi.TV

These scripts go with the RasPiO® Breakout board http://rasp.io/breakout

RasPiO® Breakout board

##Preparation

Connect a wire from each port to an LED (long leg, +ve side). Connect the short leg of the LED to a resistor (~330 Ohms is safe) Connect the other end of the resistor to GND.

Do this for each port with a GPIO number (17 altogether). Then you are ready to test the ports. You should have 17 leds connected to GPIO ports and resistors.

##Contents

Run each script by typing sudo python scriptname.py

With these scripts you should be able to...

  • port-test.py - up and down pattern, increasing speed
  • port-test-pwm1.py - brighten and dim the leds in succession
  • port-test-pwm2.py - brighten and dim alternate sides
  • port-test-pwm3.py - brighten and dim alternate groups of leds

##Enjoy

Have fun connecting things to your Raspberry Pi