Have you tried:
Channel = splice(Channel,inByte,i);
My second choice would be:
Channel = splice(Channel,inByte[i],i);
If that doesn’t work println the inByte array and see how the data is being received.
Have you tried:
Channel = splice(Channel,inByte,i);
My second choice would be:
Channel = splice(Channel,inByte[i],i);
If that doesn’t work println the inByte array and see how the data is being received.