Skip to content

Instantly share code, notes, and snippets.

@conalllaverty
Created January 12, 2018 12:07
Show Gist options
  • Save conalllaverty/1e82c77b5df2364b3098f21cb9c505d6 to your computer and use it in GitHub Desktop.
Save conalllaverty/1e82c77b5df2364b3098f21cb9c505d6 to your computer and use it in GitHub Desktop.
machine import UART
import machine
import os
uart = UART(0, baudrate=115200)
os.dupterm(uart)
machine.main('main.py')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment