sms to control pic..pls help...


Results 1 to 40 of 54

Threaded View

  1. #33


    Did you find this post helpful? Yes | No

    Default

    One problem with your loop of 1 to 90 is what if you dont have 90 incoming chars ?

    The only real way to read a sms is to read one char and loop until no more arrive, you only need a short timeout, say half second.

    That why I dod not use a for loop


    also

    serout portb.6,t1200,["at+cpms=",34,"me",34,13]
    serin portb.7,t1200,5000,sms,["CPMS"] ************* Why have this line ?
    pause 2000

    The line is not really needed, you dont need the data, while I suppose its more correct to have it, its using code space etc
    Last edited by f_lez; - 11th October 2006 at 10:24.

Similar Threads

  1. SMS via pic
    By kenandere in forum GSM
    Replies: 15
    Last Post: - 10th March 2010, 11:00
  2. HELP ME, SMS controlled relay using PIC
    By pazko1125 in forum mel PIC BASIC
    Replies: 14
    Last Post: - 2nd October 2008, 16:26
  3. Siemens c55 sms control help please
    By camolas in forum mel PIC BASIC Pro
    Replies: 85
    Last Post: - 20th August 2008, 02:13
  4. Motor Control PLC with a PIC
    By sougata in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 2nd November 2006, 08:59
  5. Need help on pic to pic flow control (simple problem I think)
    By khufumen in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th January 2006, 01:34

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