Read SIM 1st message and display it in a 20x4 LCD


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    May 2012
    Posts
    3

    Default Re: Read SIM 1st massage and display it in a 20x4 LCD

    Just I think so you don’t see the code carefully.
    In my initialization I do the work.
    Line = $80 'LCD 1st line

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

    Default Re: Read SIM 1st massage and display it in a 20x4 LCD

    This instruction

    HSERIN 5000,READ_SMS,[WAIT("AT+CMGR=1"),STR Sedata\13]'Check OK reply, wait 5sec max.

    reads in 13 characters

    this is what you should have

    HSERIN 5000,READ_SMS,[WAIT("AT+CMGR=1"),STR Sedata\40\13]'Check OK reply, wait 5sec max.

    Which will read in 40 characters but stop if a ASCII 13 is read.

Similar Threads

  1. Virtual 20x4 display in ram on a 12F683
    By retepsnikrep in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 7th February 2013, 00:03
  2. Pic18f452 with 20x4 LCD Help
    By djmachine in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 6th November 2008, 23:43
  3. Replies: 6
    Last Post: - 30th June 2008, 17:33
  4. 20x4 LCD and P18F2680
    By microuser in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 9th June 2006, 20:26
  5. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 13:22

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