The way I wrote the program it is interrupt driven. A byte is received at the usart and a receive interrupt is generated. The program jumps to Getbytes: to service the interrupt for as long as there's bytes coming in then goes back to the original program.
For what little testing I've done with it so far it works great. Eventually it will become part of a larger program, that's why I went with the interrupt option.
Be careful with the DEFINEs also, I think they should be all caps.
Hope this helps some.
"It will never happen here!" just happened here.
My thoughts and prayers for Sandy Hook victims and families.
Bookmarks