serial output of a char array

hi I am trying to output the values in a char array via serial but all I get are numbers instead of the letters stored in the array.

for(int i=0; i < cantletras; i++){
  Serial.print(array[i]);}

am i missing something?

thank you

What numbers do you get? Do you expect certain letters?

Seeing numbers is not actually that strange. The arduino sees letters and all other datatypes as 1s and 0s, as you know :slight_smile:

It would've been helpful to see a bit more of your code.

Are you sure it's a char array? If its an int array holding chars then the code you posted will print the ascii value (i.e. numbers).

As AlphaBeta says, it would be easier to help you if you posted a bit more code.

for(int i=0; i < cantletras; i++){
  Serial.print(array[i], BYTE);}