bugst / go-serial

A cross-platform serial library for go-lang.
BSD 3-Clause "New" or "Revised" License
617 stars 188 forks source link

Serial.available() value of Arudino is not greater than or equal to 0 when Write() is executed #171

Closed syumekino closed 1 week ago

syumekino commented 5 months ago

I use translation.

Win11 and Arduino UNO, VS code. When I executed the process of sending a string from PC, Arduino's Serial.read() does not return any value. the return value of Serial.available is also never more than 0. Read() was executable. Is there a solution?

cmaglie commented 4 months ago

There is a problem in your code I suppose.

But if you don't provide the source code and the sketch you used, nobody can help you.

cmaglie commented 1 week ago

Closing for lack of feedback. If you are still interested, please open a new issue and provide more information so I can be able to help you.