Serial port not working?

前端 未结 4 1734
猫巷女王i
猫巷女王i 2020-11-28 15:57

I made a program that sends out data to my arduino which detects what was sent and then turns on the correct pin according to what key is pressed.

When using the ard

4条回答
  •  余生分开走
    2020-11-28 16:39

    In my case the issue was the reset, but that the serial port was opened - but not available for write until the reset has finished. Putting a 3s delay before writing to the port fixed the issue. Writing ASCII was not an issue.

提交回复
热议问题