ReadByte not working in tutorials/SerialMonitor #4933
Unanswered
William-Purvis
asked this question in
Q&A
Replies: 2 comments 3 replies
-
I suggest you test the "echo" examples. https://github.com/tinygo-org/tinygo/tree/release/src/examples/echo |
Beta Was this translation helpful? Give feedback.
3 replies
-
Look how interesting. I'll continue the research later.
Type something then press enter: ASCII Characters: Serial Debug Assistant (for Windows) - COM 6 - 115200 Bps 8N1 DTR/RTS
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've just installed tinygo and tested the blinky and serialmonitor tutorials. The basic serialmonitor code that simply writes "hello World!" works fine, but compiling the more advanced one which accepts keystrokes over the USB port waits for input then simply
types 'p' and then hangs. I've tried putting extra prints in but nothing useful shows up.
A print before the call to ReadByte works - generates a flood of prints until I type something in, then responds with a single 'p' then hangs, no further output.
I'm talking to a waveshare-rp2040-zero.
Any ideas welcome...
Beta Was this translation helpful? Give feedback.
All reactions