Shop OBEX P1 Docs P2 Docs Learn Events
crtl-Z in DEBUG — Parallax Forums

crtl-Z in DEBUG

YacoYaco Posts: 9
edited 2005-12-28 22:13 in BASIC Stamp
hello a happy new hollidays to alla of you.

Please could any one tell me how to represent <crtl-Z> insede DEBUG I know is ascii 26 but how
thanks

Comments

  • BeanBean Posts: 8,129
    edited 2005-12-28 16:54
    Should be just "DEBUG 26"
    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "SX-Video·Module" Now available from Parallax for only $28.95

    http://www.parallax.com/detail.asp?product_id=30012

    "SX-Video OSD module" Now available from Parallax for only·$49.95
    http://www.parallax.com/detail.asp?product_id=30015

    Product web site: www.sxvm.com

    "I hope the goonwave is not vaporware"
    ·
  • YacoYaco Posts: 9
    edited 2005-12-28 18:56
    Thanks :

    you could guess that I want to send a SMS message using a GSM modem, but for some reason I could not send it, I try to send a message using the hyperterminal and the same commands that my BS2PE es sending , andd from the pc is working ok,

    now I am using the program and the DEBUG screen the BS2PE is sending the correct characters
    the same that I used to simulate with the hyperterminal

    but some reason the SMS message does not go.

    please help me

    the program is

    SmsMessage:
    ·· DEBUG "AT"
    ·· DEBUG CR
    ·· PAUSE 2000
    ·· DEBUG "AT+CMGF=1"
    ·· DEBUG CR······················· ' Carraige Return ot 'Enter'
    ·· PAUSE 2000
    ·· DEBUG "AT+CMGS"
    ·· DEBUG 61······················· 'ASCII· for =
    ·· DEBUG 34······················· 'ASCII· for "
    '================================================================================
    ·· DEBUG "XXXXXXXXXX"·········· MY NUMBER
    '================================================================================
    ·· DEBUG 34····· 'ASCII· for "
    ·· DEBUG CR···· ' CR ot 'Enter'
    ·· PAUSE 3000
    '================================================================================
    · 'THE INFOTMATION I WANT TO SEND USING DEBUG GOES HERE
    · 'TEXT FORMAT ei.
    · DEBUG "HELLO WORLD AND HAPPY NEW YEAR 2006"
    '================================================================================
    ·DEBUG 26········· 'Equivlent for CTRL+Z in ASCII


    I was thinking maybe the crtl+z was the problem but now I don`t know, I am using port 16 to the modem

    thaks for the help

    ·
  • cyberbiotacyberbiota Posts: 79
    edited 2005-12-28 19:32
    Yaco-

    What physical pin of the Stamp is the GSM modem connected to? Debug sends the data out pin 1. Also, you will need to be sure that the grounds are connected between the GSM modem and the Stamp. If you are connecting the modem to the Stamp through a serial cable attached to the DB-9 connector on a Board of Education you will need to use a "null-modem" cable instead of the standard serial cable that you connect to the computer with.

    Please attach a schematic of what you trying to do- that will help with trouble shooting.

    peter

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Peter C. Charles

    Director, Research and Technology
    CyberBiota, Incorporated
    Peter.charles@cyberbiota.com
    http://www.cyberbiota.com
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-12-28 19:48
    cyberbiota said...(trimmed)
    Yaco-
    What physical pin of the Stamp is the GSM modem connected to? Debug sends the data out pin 1. Also, you will need
    Just for clarification for those who have been confused by this in the past, that's physical/literal pin 1, not P1 (The I/O pin).· I remember this coming up a few times before.· =)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • YacoYaco Posts: 9
    edited 2005-12-28 20:13
    Thanks again for your help

    here is the cable I am using it is the one that came with the modem

    ···· RS232 15-Pin Connector·················· DB9 TO THE BOE
    ············ MODEM· 15 PIN CONNECTOR········ (DEBUG) PORT 16
    ··········· 1 DCD 109 Data Carrier Direct················· 1
    ··········· 6 RX 104 Receive Data (out)··········· ······· 2
    ··········· 2 TX 103 Transmit Data························· 3
    ··········· 8 DTR 108.2 Data Terminal Ready············ 4
    ··········· 9 GND Signal Ground·························· ··· 5
    ··········· 7 DSR 107 Data Set Ready··················
    ··········· 12 RTS 105 Request to Send··················· 7
    ··········· 11 CTS 106 Clear to Send RS 232············ 8
    ··········· 13 RI 125 Ring Indicator························· 9

    Thaks
  • YacoYaco Posts: 9
    edited 2005-12-28 22:13
    Ciberbiota:

    Thanks for the tip, I needed to cross the 2 and 3 pin on my db9 going into the BOE and that did the job,

    thanks again

    is working, some time I will let the forum have my work I getting the step by step

    ·
Sign In or Register to comment.