Convertin from decimal to Characters
Posted: Thu Sep 12, 2019 2:35 pm
Hi Guys
I am saving a string in I2C memory eg Hello World now when I read it back I get the decimal number for it 72(H) 101(e) 108(l) 108(l) 111(0) 32(space) 87(W) 111(o) 114(r) 108(l) 100(d) how do I convert that back into a string of characters? If anyone knows of an exsample it would be much appreciated.
I have tried looking at the example Ben did (NumberConversion) but I can't figure out what it does as I can't step through it
I am saving a string in I2C memory eg Hello World now when I read it back I get the decimal number for it 72(H) 101(e) 108(l) 108(l) 111(0) 32(space) 87(W) 111(o) 114(r) 108(l) 100(d) how do I convert that back into a string of characters? If anyone knows of an exsample it would be much appreciated.
I have tried looking at the example Ben did (NumberConversion) but I can't figure out what it does as I can't step through it