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.
converting string
Moderator: Benj
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: converting string
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
http://www.matrixmultimedia.com/mmforum ... 73&p=10071
sounds like converting multiple bytes from Hex to decimal.
Good luck

Martin