This is probably easy, but I can't seem to figure it out.

I have an array of 34 bytes collected via Serin2. I can see each of these. What I need to do tho is read several of them and convert them from the hex values they represent now to decimal.

So imagine:

SSMAX(23) contains 83
SSMAX(34) contains 03

These make up a temperature measurement.

I need to reverse these so I get 03 83, then convert these to DECIMAL

03 83 to Decimal should give me 899. There is an implied decimal between the 9's so I'd divide by 10. the result would be 89.9

BUT.. I can't find a way to get the data out of the array to deal with it.

Does anyone have any ideas about this?

I was planning to read each character 0 - 3 - 8 - 3 in sequence via a loop and multiply the 0*4096+3*256+8*16+3*1... But I can't seem to get data ouf of the array..

I can't seem to get the array values into variables to work on them either.

Thanks - this is new stuff for me.

Tom