Firewall win, or programmed wrong ... the problem is me? (HSERIN-PC)


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Location
    Sc*nthorpe, UK
    Posts
    333


    Did you find this post helpful? Yes | No

    Default Re: Firewall win, or programmed wrong ... the problem is me? (HSERIN-PC)

    This description
    I mean, from the pic would have to send
    [1,1, W, adc value Volts] and [1,2, W, Amp adc value].
    is not the same as code

    Code:
           HSEROUt ["[1;1;W;",dec AUX_TX1,13] ;envio adc volts
           HSEROUt ["1;1;W;",dec AUX_TX1,13] ;envio adc volts
    should be

    HSEROUT [1,1,W,dec AUX_TX1,13] 'envio adc volts

    I think?

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: Firewall win, or programmed wrong ... the problem is me? (HSERIN-PC)

    SERIALIN interrupt subroutine has 1 RESUME and 2 RETURNs, not sure that will work as expected.

    PBP interrupts are "special". Darrel's interrupt routines are much more reliable and easy to use.

    Robert

  3. #3
    Join Date
    Aug 2012
    Location
    Comodoro Rivadavia - Patagonia Argentina
    Posts
    51


    Did you find this post helpful? Yes | No

    Arrow Re: Firewall win, or programmed wrong ... the problem is me? (HSERIN-PC)

    hi thanks for replying ....

    Quote Originally Posted by EarlyBird2 View Post
    This description
    is not the same as code

    Code:
           HSEROUt ["[1;1;W;",dec AUX_TX1,13] ;envio adc volts
           HSEROUt ["1;1;W;",dec AUX_TX1,13] ;envio adc volts
    should be

    HSEROUT [1,1,W,dec AUX_TX1,13] 'envio adc volts

    I think?
    changing those lines and did not work ... adding the probe in the "" W because that indicates if write or read and not have problems ... both to receive and send packets to the serial port ... .
    with serine and serout probe to see if it was a problem that the port is blocked and apparently, that's another mistake more than I have in this example.
    I'll investigate the issue of ports to get me doubt ...

    Quote Originally Posted by Demon View Post
    SERIALIN interrupt subroutine has 1 RESUME and 2 RETURNs, not sure that will work as expected.
    PBP interrupts are "special". Darrel's interrupt routines are much more reliable and easy to use.

    Robert
    Robert, see, you could guide me in those breaks you mention?
    sorry for my spanglish

Similar Threads

  1. how to determine what programmed is in a PIC?
    By droptail in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 4th June 2011, 17:55
  2. HSERIN/OUT Wrong
    By Kaldurenik in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 8th October 2007, 11:40
  3. 18F4620 refuses to be re-programmed
    By MaxG in forum Off Topic
    Replies: 10
    Last Post: - 4th December 2006, 09:16
  4. Win Xp
    By PortlandJohn in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th February 2005, 23:43
  5. win iPod
    By Ivasi in forum Off Topic
    Replies: 0
    Last Post: - 18th August 2004, 16:15

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