Jump to content
Sign in to follow this  

Eusart Interrupt Routine Circular Buffer

Recommended Posts

I need to understand how write a program to do this things with PIC18f8722@25MHz :


1) How Setting the Usart (1 or 2) to work at 115.200BRate or other BRates.

2) How make a circular buffer of 256 bytes that fill in interrupt by receive chars trought Usart->RX pin asynch.

3) How, when a special chars at the end of circular buffer exist, I can send ALL string trought Usart->TX pin asynch (even in interrupt).


I try to migrate from PicBasicPro to SourceBoostC but with more difficulty.



Sorry for language.


There is an angel to help me ???? Thank's so much!!!!



Share this post

Link to post
Share on other sites

Your content will need to be approved by a moderator

You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this