• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 699
  • Last Modified:

Convert string to parity and other port variables

Before I implement a method to do so, is there a function to convert a string to a parity or string to stopbits ?

0
flam79
Asked:
flam79
  • 2
1 Solution
 
SunBowCommented:
No.
Not within the language.
Among the reasons is that these are typically supplemental with 8 bit ASCII.

What is done more often is to program the port, and it will always send/receive using that protocol until programmed differently.

Each character can be ten bits then, even with 7 bit ascii
To convert an entire file would thus be rather tedious and unnecessary
0
 
SunBowCommented:
If addressing bits, so not neglect the start and sync bits
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now