String to binary conversion and bunary to string conversion....


int thisbyte = 'a';
stringone =  string(thisbyte, bin);

using 2 line can convert "a" "1000001"

but

int thisbyte = 'abc';
stringone =  string(thisbyte, bin);

we 100001001000011

how  possible???

which way can convert "1000001" "a" , "100001001000011" "abc"?

question want achieve? have text; want see binary text representation of values if individual characters?


Arduino Forum > Using Arduino > Project Guidance > String to binary conversion and bunary to string conversion....


arduino

Comments

Popular posts from this blog

DHT11 Time out error using v0.4.1library

Sketch upload fails with Java error (___REMOVE___/bin/avrdude)!

Arduino Uno + KTY81/210 temperature sensor