arduino / arduino/ArduinoCore-samd
Serial reads missing last byte
- Dominant language
- C
- Stars
- 502
- Forks
- 740
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I'm using Arduino ver1.8.10 on Win10, board Arduino/Genuino Zero (Native USB Port), ver1.8.3.
I'm using a baudrate of 57600.
I run this program below. When viewing this on the serial monitor in the Arduino IDE, it always reads missing last byte.
`while (Serial.available() > 0) { byte id = Serial.read(); SerialUSB.print(id, HEX); }`
Do you have any suggestions?
Thank you.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the provided Serial.available(), Serial.read(), and SerialUSB.print() sketch on an Arduino/Genuino Zero using the stated IDE, board version, and baud rate. Reproduce the missing-byte behavior and determine whether the final byte is reliably received; the issue is done when serial reads no longer omit it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100