Thanks for the advise but at the time of interrupt there is only one byte to get because the buffer is only one byte in size.
I need a way to capture the data one byte at a time and put each byte into the array as it arrives. This means I need to track which byte I am on and know when to start capturing and when to stop.
I will put up some sample code I made to give you an idea of what I am trying to achieve.
Bookmarks