12f675_fuse_about_to_blow!


Closed Thread
Results 1 to 40 of 929

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Code:
    SERIN2 PORTC.5, 16780,Timeout,Data_Not_Sent,[WAIT ("#"),DEC NUM1]
    The SERIN2 command looks for the change of state, when using RF the time out thing does not work very well because of noise. The state is always changing even if data is not being sent.
    Last edited by mackrackit; - 15th April 2010 at 16:42.
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    The SERIN2 command looks for the change of state
    So SERIN2 looks at SEROUT2 (PORTC.3) to see if data has been sent?

    PORTC.3's pin state is the key to DATA_Not_Sent?

    I'm either getting a lot warmer or a lot colder with that one.

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    North of the Arctic Circle on that one...

    The time-out option looks for a state change on the serial input pin to see if data has been received on that pin.
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    North of the Arctic Circle on that one...
    Lol......!

    It was a bit of a howler wan't it, oh dear.

  5. #5
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    I've just re-read the brief mackrackit.

    What happens if you do not send data?
    I thought you meant from the PIC to the pc, that's why I kept going towards a change of state on SEROUT2 (PORTC.3).

    I see what you're saying now (I still don't now the answer (yet)) at least I'm looking in the right area now (I think).

    Dave

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Yup, you are heading South now.
    While I am on my way North with the gizmo I am playing with.
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Yup, you are heading South now.


    While I am on my way North with the gizmo I am playing with.
    I'm intrigued, what you working on then mackrackit

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