Hi,


I need some advise on how to implement a circular buffer, I do not really understand why it is used. I want to read a string from a 8 bit, 1 byte port on a micro. So if I read hello in on this port, this would be 6 bytes including the null char. At this point I think why cant I write this into a standard char array of a fixed size. Why is it recommended to use a circular buffer?

Thanks,

RocketMan46