Hello Billy,
Billy>>the computer sends a string S1234567E
S representing the start E end bits
If I wanted to put 123 in variable B0 and 4567 in B1 how would I go about this<<
    is the stringlength always going to be the same?
 a Start . 3char . 4char . End situation?
   You could read it in a Array of Character and convert when the array is through...
    Something like..
    counter=0;
initalize Array[counter] to null.
while counter<>7 and Array[counter]<>"E"
   Serin Pin, Array[counter]
   counter ++
Wend
if Array[7]!="E" then bad data.
process your data....of good data.
          Dwayne
				
			 
			
		 
			
                        	
		         
			
			Ability to Fly:
Hurling yourself towards the ground, and missing.
Engineers that Contribute to flying:
Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute
Pilots that are Flying:
Those who know their limitations, and respect the green side of the grass...
			
			
		 
	
Bookmarks