Redirecttousb (#604)

* add block to redirect back to USB

* added docs

* bump minor version
This commit is contained in:
Peli de Halleux
2017-12-14 06:44:48 -08:00
committed by GitHub
parent caa563ee30
commit b45f456736
9 changed files with 44 additions and 4 deletions

View File

@ -0,0 +1,12 @@
# Serial Redirect To USB
Dynamically configure the serial instance to use ``USBTX`` and ``USBRX``.
```sig
serial.redirectToUSB()
```
## See also
[serial](/device/serial),
[redirect](/reference/serial/redirect-to)

View File

@ -27,5 +27,6 @@ input.onButtonPressed(Button.A, () => {
## See also
[serial](/device/serial)
[serial](/device/serial),
[redirectToUSB](/reference/serial/redirect-to-usb)