Created
October 19, 2018 23:25
-
-
Save wybiral/651152c03033da3356b0a8be4bd0fa4f to your computer and use it in GitHub Desktop.
This file contains 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
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