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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file linx_connection-0.0.2.tar.gz.

File metadata

  • Download URL: linx_connection-0.0.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for linx_connection-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7e64f102d7cf25ef37b17baf32f78832a5dbab7a996c41bdee270a7e86cb21cb
MD5 cae5c7616f85dcfc3d2714b7cf8b2505
BLAKE2b-256 4004375b267a85e0e2f2d5f6575a6d61548cc1c8746cc5d3c62f56760a3a9ea0

See more details on using hashes here.

File details

Details for the file linx_connection-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: linx_connection-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for linx_connection-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 db7dffab19c51a7143db75e99df86d1bfdf8bde59f11b422e06126d7667e4468
MD5 7680e4507a9fd689cb94401cea695cc1
BLAKE2b-256 0c16c7e3f42e026df897bcbf3ce9e12466ed53ce6f315802b103f1720e210f3d

See more details on using hashes here.

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