Skip to content

Instantly share code, notes, and snippets.

@esmarr58
Created October 30, 2017 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save esmarr58/3357115b34f1222d9093e905ba0ca5f7 to your computer and use it in GitHub Desktop.
Save esmarr58/3357115b34f1222d9093e905ba0ca5f7 to your computer and use it in GitHub Desktop.
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