Skip to main content

Module for talking to Arduino by serial port

Project description

Installing:

pip install --user linx_connection

Usage:

conn = LinxConnection(port='\<port>') # \<port> can be /dev/ttyUSBX if you are running on Linux or COMX if Windows
dct = conn.AnalogRead(1) # -> {..., 'data': \<data>, ...} where \<data> is bytes object representing status of A1 port. Use transfrom(dct) to get normal int value

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linx_connection-0.0.2.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

linx_connection-0.0.2-py3-none-any.whl (15.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page