Can I use this function for any number of bytes say 9 ??
How to implement this function if my data is transmitted in a loop ?