How do RCIF works?


Results 1 to 10 of 10

Threaded View

  1. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    mmm, could be many things, can you post your whole code?

    One pointer, if you don't use any HSERIN/HSEROUT in your code, the compiler will never consider your SPBRG, TXSTA, RCSTA define. In this case you should write directly to them. Same thing with The TRISx. HSERIN/HSEROUT will do the job for you, but if you don't use them... maybe you'll receive character but... maybe you'll never saw them at the output... maybe.

    Another Thing...
    Quote Originally Posted by Koosa's code
    DEFINE HSER_CLOERR 1 ' automatic clear overrun error
    should be
    Code:
    DEFINE HSER_CLROERR 1 ' automatic clear overrun error
    The define's spelling is verrrrrrrrrrrrrrrryyy important. In uppercase tooo.

    Maybe the following may help you.
    http://www.picbasic.co.uk/forum/show...42&postcount=2
    http://www.picbasic.co.uk/forum/show...1&postcount=11
    Last edited by mister_e; - 8th January 2006 at 18:18.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. PORTA.0 works, PORTB.7 or .6 do not
    By ozarkshermit in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 3rd September 2009, 05:25
  2. Replies: 42
    Last Post: - 14th January 2008, 12:38
  3. TMR1 How it works?
    By ngeronikolos in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 12th January 2007, 15:24
  4. EPIC Programmer - Works for all chips but the 16F876A
    By 4Lewis in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th April 2006, 00:59
  5. 16F628A using PORTA.4, and it works, but...
    By zx81 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th August 2005, 09:45

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