Size: 461
Comment:
|
Size: 1311
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
== SlackBuild for Slackware 14 == | Encapsulates the access for the serial port. It provides backends for Python running on Windows, Linux, BSD (possibly any POSIX compliant system), Jython and IronPython (.NET and Mono), as stated in [[http://pyserial.sourceforge.net/]]. |
Line 6: | Line 7: |
== Setup port == chmod 666 /dev/ttyUSB0 stty -F /dev/ttyUSB0 raw speed 9600 -crtscts cs8 -parenb -cstopb == SlackBuild for Slackware 14 (32 bit) == |
|
Line 7: | Line 14: |
* su | |
Line 15: | Line 23: |
[[attachment:pyserial-2.6-i486-1_SBo.tgz]] == SlackBuild for Slackware64 14 (64 bit) == Run commands: * su * cd tmp * wget http://slackbuilds.org/slackbuilds/14.0/python/pyserial.tar.gz * tar xvzf pyserial.tar.gz * cd pyserial * wget http://pypi.python.org/packages/source/p/pyserial/pyserial-2.6.tar.gz * chmod 755 pyserial.SlackBuild * ./pyserial.SlackBuild * installpkg /tmp/pyserial-2.6-x86_64-1_SBo.tgz [[attachment:pyserial-2.6-x86_64-1_SBo.tgz]] |
pyserial
Encapsulates the access for the serial port. It provides backends for Python running on Windows, Linux, BSD (possibly any POSIX compliant system), Jython and IronPython (.NET and Mono), as stated in http://pyserial.sourceforge.net/.
SlackBuild page http://slackbuilds.org/repository/14.0/python/pyserial/.
Setup port
chmod 666 /dev/ttyUSB0 stty -F /dev/ttyUSB0 raw speed 9600 -crtscts cs8 -parenb -cstopb
SlackBuild for Slackware 14 (32 bit)
Run commands:
- su
- cd tmp
wget http://slackbuilds.org/slackbuilds/14.0/python/pyserial.tar.gz
- tar xvzf pyserial.tar.gz
- cd pyserial
wget http://pypi.python.org/packages/source/p/pyserial/pyserial-2.6.tar.gz
chmod 755 pyserial.SlackBuild
./pyserial.SlackBuild
- installpkg /tmp/pyserial-2.6-i486-1_SBo.tgz
SlackBuild for Slackware64 14 (64 bit)
Run commands:
- su
- cd tmp
wget http://slackbuilds.org/slackbuilds/14.0/python/pyserial.tar.gz
- tar xvzf pyserial.tar.gz
- cd pyserial
wget http://pypi.python.org/packages/source/p/pyserial/pyserial-2.6.tar.gz
chmod 755 pyserial.SlackBuild
./pyserial.SlackBuild
- installpkg /tmp/pyserial-2.6-x86_64-1_SBo.tgz