milkv-duo / duo-arduino

GNU Lesser General Public License v2.1
15 stars 8 forks source link

115200 baud rate doesn't work properly #6

Open thenightterorx opened 8 months ago

thenightterorx commented 8 months ago

I was trying to work on communication between the linux and the arduino program on the duo, and one thing that I am trying is by using serial. The problem is that there are weird characters at 115200, which usually indicate some kind of baud rate mismatch. I can decrease it to 57600 with stty for the linux side, and by just changing serial.begin in the sketch, and it will work just fine with no errors. I think it should work fine considering the duo definitely has a high enough clock speed, and it can't be my serial adapter since the duo is just connected to itself.

thanks!

jajito commented 8 months ago

Same problem here. Max speed at 57600.