DT Ints on 18F (First time user problem)


Results 1 to 16 of 16

Threaded View

  1. #8
    Join Date
    May 2013
    Location
    australia
    Posts
    2,644


    Did you find this post helpful? Yes | No

    Default Re: DT Ints on 18F (First time user problem)

    not sure its a good practice to use hersin and hserout in an isr either
    b_c var word ; buffer count
    PIE3.5 I ASSUME IS RXINT ENABLE OR use
    @ INT_ENABLE RX1_INT


    GetData:

    mess[B_C]=RCREG
    if ( b_c > 499) OR ( MESS[B_C]=10) then
    bity=1
    PIE3.5=0 ; BUFFER FULL TAKE NO MORE or @ INT_DISABLE RX1_INT

    ENDIF
    B_C=B_C+1


    @ INT_RETURN


    PIE3.5=0 might be wrong the example I was drawing from uses two euarts
    Last edited by richard; - 24th March 2015 at 11:34. Reason: typo

Similar Threads

  1. User Position, Velocity & Time II (D1h)
    By dj.lambert in forum GPS
    Replies: 2
    Last Post: - 31st July 2009, 09:21
  2. Problem with Dt Ints Interrupts
    By Quin in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th July 2008, 19:21
  3. Some initial help for a first time PBP user
    By jtburnham in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 29th April 2006, 07:32
  4. First time with 18F pic...
    By gabrielg74 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 9th December 2005, 07:04
  5. need help first time user of picmicro
    By tekdavid in forum mel PIC BASIC
    Replies: 2
    Last Post: - 29th March 2005, 04:39

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