Created
October 30, 2017 18:33
-
-
Save esmarr58/3357115b34f1222d9093e905ba0ca5f7 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
void setup(){ | |
Serial.begin(9600); | |
} | |
void loop(){ | |
//Ejemplo-1 | |
Serial.print("Hola Mundo"); | |
Serial.print("\r\n"); | |
//Ejemplo-2 | |
Serial.println("Hola Mundo"); | |
//Ejemplo-3 | |
Serial.write('H'); | |
Serial.write('o'); | |
Serial.write('l'); | |
Serial.write('a'); | |
Serial.write(' '); | |
Serial.write('M'); | |
Serial.write('u'); | |
Serial.write('n'); | |
Serial.write('d'); | |
Serial.write('o'); | |
Serial.write('\r'); | |
Serial.write('\n'); | |
while(1); //Esto es una pausa | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment