Skip to content

Instantly share code, notes, and snippets.

@esmarr58
Created November 28, 2017 19:47
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/1eabe086b2767e9e920d0882fac0c1a7 to your computer and use it in GitHub Desktop.
Save esmarr58/1eabe086b2767e9e920d0882fac0c1a7 to your computer and use it in GitHub Desktop.
char vectorCaracteres[5] = {'1','2','1','5','6'};
void setup() {
int numeroEntero = atoi(vectorCaracteres);
Serial.begin(9600);
Serial.print("El numero entero es: ");
Serial.println(numeroEntero);
}
void loop() {
//Ciclo infinito
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment