Skip to content
Michael Juarez edited this page Apr 17, 2014 · 2 revisions

This is a quick tutorial on setting up and using syzydiag. Note: this documentation was written while having a severe headache. Please excuse it's current form.

Setup

syzydiag uses python. You should have it installed by default if you are using a Mac. It also requires the pyserial module.

For the uninitiated who have never installed a Python module. Here is the quickest way to go:

curl --silent --show-error --retry 5 https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python2.7
sudo pip install pyserial

Additionally, you'll need to install the FTDI Virtual Com Port (VCP) drivers for the Entec located here: http://www.ftdichip.com/Drivers/VCP.htm

Using the script

$ ./dmxtest.py -h
usage: dmxtest.py [-h] [--cube CUBE] [--color COLOR] [--entec ENTEC]
                  [--cycle CYCLE]

Program to test Syzygryd cubes.

optional arguments:
  -h, --help     show this help message and exit
  --cube CUBE    Cube number
  --color COLOR  Color in HEX format (aabbcc)
  --entec ENTEC  full path of enttec device
  --cycle CYCLE  Cycle through the arm

Examples

To turn cube 26 red.

./dmxtest.py --entec /dev/tty.xxx --cube 26 --color FF0000

To make an entire arm pulsate

./dmxtest.py --entec /dev/tty.xxx --cycle pulsate

To make a cube at a time change to a random colorl

./dmxtest.py --entec /dev/tty.xxx --cycle random

Seizure mode (probably explains my headache)

./dmxtest.py --entec /dev/tty.xxx --cycle seizure

Clone this wiki locally