-
Notifications
You must be signed in to change notification settings - Fork 589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with definition of variable in examplemultipleports #183
Comments
@W1il What kind of error is throwing? |
Hi felHR85, Thanks I already solutions that problem, now I have another, when I open the application and connect the USB cable, the application works but if for some reason I disconnect the USB cable and again connect it the application no longer runs for more attempts to make connect and disconnect the usb cable until the application finishes and again open it, there is some way to change this so that each time the USB cable is connected the application is reinitialized (both the MainActivity and the UsbService). Regards |
Hi, I want to modify the code of the examplemultipleports so that the parameters of the serial port can be variables that I can modify later, I have tried to declare it as variable (mConfigDataBit = DATA_BITS_7) but it always throws me error, someone can tell me what type of variable is DATA_BITS_8, DATA_BITS_7, DATA_BITS_6, DATA_BITS_5?
Here is my code:
`private int mConfigBaudRate;
private int mConfigDataBit = DATA_BITS_7 ;
`
Regards
The text was updated successfully, but these errors were encountered: