Page 1 of 1

converting string

Posted: Wed Aug 12, 2009 8:51 pm
by Roy
If I read an integer from an analogue in, how can i send it to the host via usb,
I tried converting it to a string and send it across,
It comes out in 4 registers. For the love of me I cannot figure how to get these 4 values back to a decimal again.

Re: converting string

Posted: Sat Aug 15, 2009 8:52 am
by medelec35
This maybe your answer by steve on Mon Nov 03, 2008 3:56 pm
http://www.matrixmultimedia.com/mmforum ... 73&p=10071

sounds like converting multiple bytes from Hex to decimal.

Good luck :-)