You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In usb_serial version 0.1.1 there seems to be no constant for setting the parity of a UsbPort object to 'even'.
I explored the underlying java library and noticed that this option is supported there. (link) I tried using '2' as a constant for setting the parity in UsbPort.setPortParameters() with no success.EDIT: Passing 2 in UsbPort.setParameters(...) worked for me.
Will the option to set the parity to 'even' be available in the near future or is there any workaround for that?
The text was updated successfully, but these errors were encountered:
In usb_serial version 0.1.1 there seems to be no constant for setting the parity of a UsbPort object to 'even'.
I explored the underlying java library and noticed that this option is supported there. (link)
I tried using '2' as a constant for setting the parity in UsbPort.setPortParameters() with no success.EDIT: Passing 2 in UsbPort.setParameters(...) worked for me.Will the option to set the parity to 'even' be available in the near future or is there any workaround for that?
The text was updated successfully, but these errors were encountered: