Created
July 27, 2017 09:22
-
-
Save tombrad/29b6a5a15c671bca15d06d114cb7700d 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
import serial | |
arduino = serial.Serial('/dev/ttyACM0',9600) | |
comando="L" | |
arduino.write(comando) | |
print('LED APAGADO') | |
arduino.close()#FINALIZA LA COMUNICACION |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment