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 ?

flam79Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
SunBowConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.