Conversation
This step wasn't included, which will lead to errors when TinyGo is built using `go install`.
In 4 subsections: 1) Writing to the serial port using fmt.Print(), fmt.Println(), and the built-in functions print() and println(). Explain flash memory consumption of `fmt` package. 2) Running `tinygo monitor` to see the output on the host computer. 3) Reading from the serial port. 4) Alternative serial monitors (Arduino IDE, pyserial, picocom).
Address review comments: * Add COM1 and COM31 for Windows * Add `tinygo monitor -baudrate=9600` for AVR processors * Fix couple of grammar typos. * Add explanation of "baud rate". * Add instructions to use `flash -x` flag to see the port of the microcontroller.
Expanded the 'Serial Monitor on Host Computer` section into multiple subsections: * monitor subcommand * -monitor flag * Baud Rate * Serial Port on Host * Multiple Microcontrollers The 'Serial Monitor on Host Computer' section is now LOT longer than I had originally intended, I had intended to only give an entry-level usage of `tinygo monitor` just to get a newcomer started on serial monitors. But I guess this is the only place where the 'tinygo monitor' subcommand is explained, so we are tempted to describe all of its conveniences. Moved some material in 'Alternative Serial Monitors' section into the above subsections for better flow.
This is necessary for WebAssembly.
I totally forgot about this one! So here it is.
reference/usage/subcommands: Document the `tinygo monitor` subcommand. And the `-monitor` flag on the `tinygo flash` command.
Signed-off-by: John Clark inindev@gmail.com
Member
|
It looks like something didn't quite work well in the rebase, as there are a lot of unrelated commits. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the rebase that was requested from PR 320: #320
Signed-off-by: John Clark inindev@gmail.com