Documentation ¶
Overview ¶
This is a echo console running on the os.Stdin and os.Stdout. Stdin and os.Stdout are connected to machine.Serial in the baremetal target.
Serial can be switched with the -serial option as follows 1. tinygo flash -target wioterminal -serial usb examples/echo2 2. tinygo flash -target wioterminal -serial uart examples/echo2
This example will also work with standard Go.
Click to show internal directories.
Click to hide internal directories.