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
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166

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

    Loosha, The lines for the lcd are started form $80 for first line, $C0 for second line, $94 for third line and, $D4 for forth line. I do not see where you are sending any daya to any line other than the first line.
    Dave Purola,
    N8NTA
    EN82fn

  2. #2
    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

  3. #3
    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: - 6th February 2013, 23:03
  2. Pic18f452 with 20x4 LCD Help
    By djmachine in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 6th November 2008, 22:43
  3. Replies: 6
    Last Post: - 30th June 2008, 16:33
  4. 20x4 LCD and P18F2680
    By microuser in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 9th June 2006, 19:26
  5. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 12: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