Created
July 29, 2017 20:44
-
-
Save tombrad/af9f0de1ce0904cd142e982f714cd0c6 to your computer and use it in GitHub Desktop.
Nuevo archivo para prender LED, versión 1
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) | |
| arduino.write("H") #Mandar un comando hacia Arduino | |
| print('LED ENCENDIDO') | |
| arduino.close() #Finalizamos la comunicacion |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ESTO NO FUNCIONA, solo lo coloco como ejemplo