Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@wybiral
Created October 19, 2018 23:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wybiral/651152c03033da3356b0a8be4bd0fa4f to your computer and use it in GitHub Desktop.
Save wybiral/651152c03033da3356b0a8be4bd0fa4f to your computer and use it in GitHub Desktop.
import serial, webbrowser
with serial.Serial('/dev/ttyUSB0', 115200) as s:
while True:
line = s.readline()
webbrowser.open_new('https://www.youtube.com/c/DavyBot')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment