TC35i GSM With PIC 16F690 help


Results 1 to 34 of 34

Threaded View

  1. #23


    Did you find this post helpful? Yes | No

    Exclamation New One!

    Hi Everyone
    I am now able to send text messeges. New Problem, I am unable to read an sent sms. Here is my code:
    rea:
    gosub one
    serout2 tx,baud,["AT+CMGF=1",13]
    Serin2 rx,baud,5000,rea,[WAIT("OK")]
    pause 5000
    gosub one
    serout2 tx,baud,["AT+CMGR=1",13]
    Serin2 rx,baud,5000,rea,[WAIT("REC UNREAD"),skip 3, STR num\12,skip 27,STR sms\10] 'CODE NEVER MOVES FORWARD FROM HERE
    portc=255
    pause 3000
    portc=0
    if sms[0]="t" and sms[1]="e" and sms[2]="s" and sms[3]="t" then
    goto done
    ELSE
    goto rea
    ENDIF


    done:
    serout2 tx,baud,["AT+CMGF=1",13]
    Serin2 rx,baud,5000,main,[WAIT("OK")]
    gosub two
    gosub two
    gosub two
    serout2 tx,baud,["AT+CMGS=",34,"+44798XXXXXXXX",34,13]
    Serin2 rx,baud,5000,main,[WAIT(">")]
    PAUSE 500
    SEROUT2 tx,baud,["done",26]
    goto rea
    Last edited by financecatalyst; - 1st October 2009 at 00:56. Reason: CORRECTION

Similar Threads

  1. Want to learn GSM & PIC programming
    By financecatalyst in forum GSM
    Replies: 5
    Last Post: - 25th February 2014, 09:22
  2. GSM With PIC?
    By financecatalyst in forum General
    Replies: 1
    Last Post: - 19th September 2009, 23:12
  3. SERIN AND SEROUT PROBELM USING 16f690 PIC
    By Charles in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 18th January 2007, 03:59
  4. gsm card reader using pic
    By ninebarmaximus in forum General
    Replies: 0
    Last Post: - 6th December 2005, 18:08
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

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