Serial-In for PIC with USART


Results 1 to 5 of 5

Threaded View

  1. #3


    Did you find this post helpful? Yes | No

    Default Serin

    Hi Bob,
    Thanks for that link. It turned out to be just about what I had fumbled to program a few monthes ago trying to get serin to work. The 18f chips automatically saves settings on int and replace registers with FAST RETURN, I think.
    I added a "start char" and "end char" to sort of frame the incomming ASCII and know when to tell Basic to deal with received stuff.
    I think the interrupt service routine only takes about 10 to20 or 30 micro seconds every time a character comes in.
    Do you see improvments to this stuff?

    Don
    amgen

    HOW do you post the code window here. Copy paste deforms the layout to just about unreadable so I just attached file???
    thanks
    Attached Files Attached Files

Similar Threads

  1. My USART problems..
    By Glenn in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 31st July 2009, 01:00
  2. Dynamic USB Serial Number (PIC18F4550)
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 16th July 2009, 17:03
  3. PIC18F4680 to PC via MAX232 (RS232 serial) no output
    By opticsteam1 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th April 2008, 20:39
  4. problem with USART
    By leemin in forum Serial
    Replies: 4
    Last Post: - 11th December 2006, 17:56
  5. Replies: 1
    Last Post: - 6th September 2005, 16:32

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts