Skip to content

Commit

Permalink
Merge pull request #18 from LastElb/master
Browse files Browse the repository at this point in the history
Support for SM16716
  • Loading branch information
scottjgibson committed Sep 23, 2013
2 parents ad1c3a1 + 05bdf10 commit 97c5cbb
Show file tree
Hide file tree
Showing 2 changed files with 160 additions and 56 deletions.
55 changes: 30 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ http://thegreatgeekery.blogspot.ca/2012/08/raspberry-pi-and-ws2801.html

- Originally based on http://learn.adafruit.com/light-painting-with-raspberry-pi/software

Supported Chips:
- WS2801
- LPD8806
- LPD6803
- SM16716

sudo python pixelpi.py --help
usage: pixelpi.py [-h] [-v]
Expand All @@ -32,13 +37,13 @@ http://thegreatgeekery.blogspot.ca/2012/08/raspberry-pi-and-ws2801.html


sudo python pixelpi.py strip --help
usage: pixelpi.py strip [-h] [--chip {WS2801,LPD8806}] [--verbose]
usage: pixelpi.py strip [-h] [--chip {WS2801,LPD8806,LPD6803,SM16716}] [--verbose]
[--spi_dev SPI_DEV_NAME] [--refresh_rate REFRESH_RATE]
[--filename FILENAME] --array_height ARRAY_HEIGHT

optional arguments:
-h, --help show this help message and exit
--chip {WS2801,LPD8806} Specify chip type LPD8806 or WS2801
--chip {WS2801,LPD8806,LPD6803,SM16716} Specify chip type
--verbose enable verbose mode
--spi_dev SPI_DEV_NAME Set the SPI device descriptor
--refresh_rate REFRESH_RATE Set the refresh rate in ms (default 500ms)
Expand All @@ -47,15 +52,15 @@ http://thegreatgeekery.blogspot.ca/2012/08/raspberry-pi-and-ws2801.html


sudo python pixelpi.py array --help
usage: pixelpi.py array [-h] [--chip {WS2801,LPD8806}] [--verbose]
usage: pixelpi.py array [-h] [--chip {WS2801,LPD8806,LPD6803,SM16716}] [--verbose]
[--spi_dev SPI_DEV_NAME] [--refresh_rate REFRESH_RATE]
[--filename FILENAME] --array_width ARRAY_WIDTH
--array_height ARRAY_HEIGHT

optional arguments:
-h, --help show this help message and exit
--chip {WS2801,LPD8806}
Specify chip type LPD8806 or WS2801
--chip {WS2801,LPD8806,LPD6803,SM16716}
Specify chip type
--verbose enable verbose mode
--spi_dev SPI_DEV_NAME
Set the SPI device descriptor
Expand All @@ -70,15 +75,15 @@ http://thegreatgeekery.blogspot.ca/2012/08/raspberry-pi-and-ws2801.html


sudo python pixelpi.py pixelinvaders --help
usage: pixelpi.py pixelinvaders [-h] [--chip {WS2801,LPD8806}] [--verbose]
usage: pixelpi.py pixelinvaders [-h] [--chip {WS2801,LPD8806,LPD6803,SM16716}] [--verbose]
[--spi_dev SPI_DEV_NAME]
[--refresh_rate REFRESH_RATE] --udp-ip UDP_IP
--udp-port UDP_PORT

optional arguments:
-h, --help show this help message and exit
--chip {WS2801,LPD8806}
Specify chip type LPD8806 or WS2801
--chip {WS2801,LPD8806,LPD6803,SM16716}
Specify chip type
--verbose enable verbose mode
--spi_dev SPI_DEV_NAME
Set the SPI device descriptor
Expand All @@ -95,8 +100,8 @@ http://thegreatgeekery.blogspot.ca/2012/08/raspberry-pi-and-ws2801.html

optional arguments:
-h, --help show this help message and exit
--chip {WS2801,LPD8806}
Specify chip type LPD8806 or WS2801
--chip {WS2801,LPD8806,LPD6803,SM16716}
Specify chip type
--verbose enable verbose mode
--spi_dev SPI_DEV_NAME
Set the SPI device descriptor
Expand All @@ -107,14 +112,14 @@ http://thegreatgeekery.blogspot.ca/2012/08/raspberry-pi-and-ws2801.html


sudo python pixelpi.py chase --help
usage: pixelpi.py chase [-h] [--chip {WS2801,LPD8806}] [--verbose]
usage: pixelpi.py chase [-h] [--chip {WS2801,LPD8806,LPD6803,SM16716}] [--verbose]
[--spi_dev SPI_DEV_NAME] [--refresh_rate REFRESH_RATE]
--num_leds NUM_LEDS

optional arguments:
-h, --help show this help message and exit
--chip {WS2801,LPD8806}
Specify chip type LPD8806 or WS2801
--chip {WS2801,LPD8806,LPD6803,SM16716}
Specify chip type
--verbose enable verbose mode
--spi_dev SPI_DEV_NAME
Set the SPI device descriptor
Expand All @@ -125,15 +130,15 @@ http://thegreatgeekery.blogspot.ca/2012/08/raspberry-pi-and-ws2801.html


sudo python pixelpi.py pan --help
usage: pixelpi.py pan [-h] [--chip {WS2801,LPD8806}] [--verbose]
usage: pixelpi.py pan [-h] [--chip {WS2801,LPD8806,LPD6803,SM16716}] [--verbose]
[--spi_dev SPI_DEV_NAME] [--refresh_rate REFRESH_RATE]
[--filename FILENAME] --array_width ARRAY_WIDTH
--array_height ARRAY_HEIGHT

optional arguments:
-h, --help show this help message and exit
--chip {WS2801,LPD8806}
Specify chip type LPD8806 or WS2801
--chip {WS2801,LPD8806,LPD6803,SM16716}
Specify chip type
--verbose enable verbose mode
--spi_dev SPI_DEV_NAME
Set the SPI device descriptor
Expand All @@ -148,14 +153,14 @@ http://thegreatgeekery.blogspot.ca/2012/08/raspberry-pi-and-ws2801.html


sudo python pixelpi.py all_on --help
usage: pixelpi.py all_on [-h] [--chip {WS2801,LPD8806}] [--verbose]
usage: pixelpi.py all_on [-h] [--chip {WS2801,LPD8806,LPD6803,SM16716}] [--verbose]
[--spi_dev SPI_DEV_NAME]
[--refresh_rate REFRESH_RATE] --num_leds NUM_LEDS

optional arguments:
-h, --help show this help message and exit
--chip {WS2801,LPD8806}
Specify chip type LPD8806 or WS2801
--chip {WS2801,LPD8806,LPD6803,SM16716}
Specify chip type
--verbose enable verbose mode
--spi_dev SPI_DEV_NAME
Set the SPI device descriptor
Expand All @@ -166,14 +171,14 @@ http://thegreatgeekery.blogspot.ca/2012/08/raspberry-pi-and-ws2801.html


sudo python pixelpi.py all_off --help
usage: pixelpi.py all_off [-h] [--chip {WS2801,LPD8806}] [--verbose]
usage: pixelpi.py all_off [-h] [--chip {WS2801,LPD8806,LPD6803,SM16716}] [--verbose]
[--spi_dev SPI_DEV_NAME]
[--refresh_rate REFRESH_RATE] --num_leds NUM_LEDS

optional arguments:
-h, --help show this help message and exit
--chip {WS2801,LPD8806}
Specify chip type LPD8806 or WS2801
--chip {WS2801,LPD8806,LPD6803,SM16716}
Specify chip type
--verbose enable verbose mode
--spi_dev SPI_DEV_NAME
Set the SPI device descriptor
Expand All @@ -184,14 +189,14 @@ http://thegreatgeekery.blogspot.ca/2012/08/raspberry-pi-and-ws2801.html


sudo python pixelpi.py wiimote --help
usage: pixelpi.py wiimote [-h] [--chip {WS2801,LPD8806}] [--verbose]
usage: pixelpi.py wiimote [-h] [--chip {WS2801,LPD8806,LPD6803,SM16716}] [--verbose]
[--spi_dev SPI_DEV_NAME]
[--refresh_rate REFRESH_RATE] --num_leds NUM_LEDS

optional arguments:
-h, --help show this help message and exit
--chip {WS2801,LPD8806}
Specify chip type LPD8806 or WS2801
--chip {WS2801,LPD8806,LPD6803,SM16716}
Specify chip type
--verbose enable verbose mode
--spi_dev SPI_DEV_NAME
Set the SPI device descriptor
Expand Down
Loading

0 comments on commit 97c5cbb

Please sign in to comment.