DT_INT + 16F72 - what am I missing?


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Location
    London
    Posts
    251


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Bruce View Post
    Have you tried disabling the Timer1 interrupt to see if it responds to serial data?
    Yes I did, still no luck.

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    If you're using v2.6 you may want to switch to SERIN2 or DEBUGIN. SERIN has known timing issues: http://melabs.com/support/pbpissues.htm
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    Join Date
    Nov 2009
    Location
    London
    Posts
    251


    Did you find this post helpful? Yes | No

    Default

    I have got V2.5. Can I still try using DEBUG?

  4. #4
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Yes. DEBUGIN should work fine. I would disable interrupts too. At least until you can get your serial input working.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  5. #5
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    > Serin PortB.7, N2400,["D33",get0]

    With that statement, get0 is a qualifier.
    I think you wanted that to be the variable that receives the data.
    So it should be outside of the square brackets.

    Serin PortB.7, N2400,["D33"],get0
    DT

  6. #6
    Join Date
    Nov 2009
    Location
    London
    Posts
    251


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    > Serin PortB.7, N2400,["D33",get0]

    With that statement, get0 is a qualifier.
    I think you wanted that to be the variable that receives the data.
    So it should be outside of the square brackets.

    Serin PortB.7, N2400,["D33"],get0
    Thanks to all. The problem is now sorted.

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