Closed fire1 closed 6 years ago
Changing baud rate in
PhysicaloidLibrary\src\com\physicaloid\lib\usb\driver\uart\UartConfig.java
Fixes the communication
Changing from setConfig
or setBaudrate
didn't change it ...
Make sure to call the setBaudrate method AFTER port is opened. If you look closer at setBaudrate method you'll find that when port is null (or it doesn't exist) then it just returns false.
Correct. All failed calls return false. You should always check the return values.
thanks!
I'm struggling to get serial read to work... only output I'm having is:
Changing baud rate with method "setBaudrate()" did not help (same baud rate for arduino and device 115200 && 9600 tested) also
did not fix it
Is there some other way to fix it or debug it ? It seems to be some problem with baud rate...