When i read data from eeprom using:
I get decimal representation of ASCII character (When i have "A" in ASCII i get 65 as output). How i can really fast convert this value to ASCII ?
Maybe there is a trick like Serial.print (data, HEX);
Alternatively, I can use some library.
This is in ASCII, that is what ASCII is. It is a number that stands for a alphanumeric character.
Well that just gives you the same number in hexadecimal form, it is still the same number.
What exactly are you expecting?
This will print an 'A':
Serial.print ((char) data);
Is that what you want?
test this way;
result = 65;
July 10, 2021, 12:07am
char c = (char) EEPROM.read(0x0F);
Now when you do
you will get the ASCII char
November 7, 2021, 12:07am
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.