SwingeyP
Member
I have a situation where I am reading data from a serial port and storing it in an array.
The data is a GPS coordinate. The array will look something like this.
array(0) = 5
array(1) = 2
array(3) = 5
array(4) = 6
array(5) = 2
array(6) = 1
and so on.
I want to make 1 number (525621) so I have one variable that is 525621 ( a long?) It may not be necessary for the last digit accuracy so perhaps it will fit in a word.
How do I do it?
Regards - Paul
The data is a GPS coordinate. The array will look something like this.
array(0) = 5
array(1) = 2
array(3) = 5
array(4) = 6
array(5) = 2
array(6) = 1
and so on.
I want to make 1 number (525621) so I have one variable that is 525621 ( a long?) It may not be necessary for the last digit accuracy so perhaps it will fit in a word.
How do I do it?
Regards - Paul