So...I'm working on Arduino Eprom programer, to program Eprom I need to read data to be programmed from SD card
On SD card is .txt file with hex vaules to be programmed, values are in long data string with no spaces like this:
"3120005080FA56B5C890" and so on...
If I read data from SD card like "31",it gives value as 2 ascii not as one hex value
My question is, is there a way i can read hex value from SD card, or is it possible to read data from SD card as hex and write it to byte as nibbles?
On SD card i have HEX data but arduino read it as ASCII not HEX
So if I have value "31" it read hex value of ASCII character "3" and "1" but I need to read it as it is
If on SD card is values "31 FB 5B" and so on I want to read it as HEX value not as ASCII characters
mrwifihifi123:
On SD card i have HEX data but arduino read it as ASCII not HEX
So if I have value "31" it read hex value of ASCII character "3" and "1" but I need to read it as it is
If on SD card is values "31 FB 5B" and so on I want to read it as HEX value not as ASCII characters
This is so confusing. How do you know the value is being read as two ASCII characters? Bet you are printing them and the print is doing the conversion so it can show you human readable characters. Perhaps it's time to reveal the program code you are using.