serout


Closed Thread
Results 1 to 11 of 11

Thread: serout

Hybrid View

  1. #1
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    Something to try - see if you can get your pic to talk to hyperterminal (using your max232 setup as is). This might help you determine if the problem is closer to the PIC side or closer to the modem side.
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

  2. #2
    Join Date
    Jun 2006
    Posts
    40


    Did you find this post helpful? Yes | No

    Thumbs up

    Thanks guys. i got the code....

    it should has carriage return ( 13 ) after the command.

    SerOut Tx,t9600,[65,84,72,49] ' Off Hook ATH1'
    SerOut Tx,t9600,[13]

    now i am looking into more functions eg connect to other modem...

    Thx a lot !
    Cheeeeers

  3. #3
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Default

    Hi,
    Glad to hear you got it going!
    A little tip: Put the carriage return on the same line as the 'command'
    Code:
    SerOut Tx,t9600,[65,84,72,49,13] ' Off Hook ATH1, CR
    Should work the same and you'll save a couple of bytes for each instance. Also Serout....["ATH1",13] should work the same but makes the code easier to understand, to me atleast....YMMV.

    Good luck with the project!

    /Henrik Olsson.

  4. #4
    Join Date
    Jun 2006
    Posts
    40


    Did you find this post helpful? Yes | No

    Cool

    That is just the beginning...
    ["ATH1",13] work fine ! Thanks for all your suggestion.

Similar Threads

  1. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 20:58
  2. Serout to serial servo
    By azmax100 in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 12th August 2009, 16:46
  3. Advice-scrutiny for my serial controller
    By kevlar129bp in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th December 2008, 17:11
  4. Keypad unlock (as in garage door possibly)
    By Fred in forum Code Examples
    Replies: 5
    Last Post: - 2nd April 2006, 04:26
  5. Replies: 11
    Last Post: - 13th July 2005, 19:26

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