Created
August 2, 2017 21:54
-
-
Save tombrad/c2b3ee63dd640677d628a42ed96bd468 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#! /usr/bin/env python | |
import serial | |
arduino = serial.Serial('/dev/ttyACM0', 9600) | |
print("Starting!") | |
arduino.write("L") #Mandar un comando hacia Arduino | |
print('LED APAGADO') | |
arduino.close() #Finalizamos la comunicacion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment