Step 1. Make sure you have Python 2.x installed. If not install it using the following command
# apt-get install python
Step 2. Install the serial library package python-serial, using the following command
# apt-get install python-serial
Step 3. In order to install Python API, first install Python setuptools using the following command.
# apt-get install python-setuptools
Install the Python API using the following command
$ cd /media/cdrom/software
# easy_install zio-python-api-*.tar.gz
Step 4. Test your installation using the Python program available on the CD-ROM at software/test-zio.py
.
When executed, the program will prompt for the serial device file and will test access
to the board through the Python API.
$ cd /media/cdrom/software
$ python test-zio.py
Enter Serial Port: /dev/ttyACM0
Serial No.: FFFFFFFFFFFF
Firmware Version: 120
Protocol Version: 110
Serial Port to which the ZIO board is connected can be found using the dmesg
command.