Skip to main content

TWE-Lite's serial responce Parser

Project description

This is parser for TWE-Lite micro computers Serial string.

Example

import twe_parser
import serial

ser = serial.Serial('/dev/ttyAMA0',115200)
line = ser.readline()
ser.close()

data = twe_parser.parse( line )

if data.enable:
    print( data.D1 )
    print( data.group )

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

twe_parser-0.1.0.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file twe_parser-0.1.0.tar.gz.

File metadata

  • Download URL: twe_parser-0.1.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for twe_parser-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a54d70901f7f714564ae58ffbd2f2d8fb9c674428ff696f8c05ccac79a60d0ac
MD5 6fbfc551d09b83bec3744316f62e7916
BLAKE2b-256 40744d7b824e45f7b1e4499a819d7ec8ad6a91fb54f49b25dd862fc0b21f3d67

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