Dave,
That was the purpose all along and that is exactly what I did - but it didn't work, it just gave me garbage as you can see in my first post. So I added the HSEROUT statements to help debug the problem which, again, was my erronous array declaration. Now when teh problem is found and fixed the HSEROUT statements are gone.
The code isn't "production code" it's code to illustrate the problem I had with the interrupt routine corrupting my array.
/Henrik.
Bookmarks