Skip to content

WibbletheDuck/pyfscc

 
 

Repository files navigation

FSCC Python Library (pyfscc)

This README file is best viewed online.

Installing Library

Downloading Library
  • You can use the pre-built library files that are included with the driver
  • Or, you can download the latest library version from Github releases.
Installing Driver

If you are not using the included Windows installer, you can install the library by using the setup script.

python setup.py install

Quick Start Guide

Lets get started with a quick programming example for fun.

This tutorial has already been set up for you at examples/tutorial.py.

First, create a new Python file (named tutorial.py) with the following code.

import fscc

if __name__ == '__main__':
    p = fscc.Port(0)

    p.write(b'Hello world!')
    print(p.read(100)[0])

Now attach the included loopback connector.

# python tutorial.py
b'Hello world!'

You have now transmitted and received an HDLC frame!

API Reference

There are likely other configuration options you will need to set up for your own program. All of these options are described on their respective documentation page.

Run-time Dependencies

API Compatibility

We follow Semantic Versioning when creating releases.

License

Copyright (C) 2014 Commtech, Inc.

Licensed under the GNU General Public License v3.

About

FSCC Python Library

Resources

Stars

Watchers

Forks

Packages

No packages published