LCDOUT generates errors.


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2007
    Location
    Sweden
    Posts
    73

    Default LCDOUT generates errors.

    Hi Guys,

    I have started on my first 18F part and run into some resistance. I got a working code with a couple of LED’s and switches which runs fine. Adding an LCD shouldn’t be any problems but as soon as I try to use the LCDOUT command errors are generated in MicroCS!

    LCDOUT $FE, 1

    Error[113] c:\pbp\pbppic18.lib 2965 : Symbol not previously defined (‘)
    Error[112] c:\pbp\pbppic18.lib 2965 : Missing operator

    And many more….

    If I comment out the LCDOUT line it compiles and runs perfectly. I have obviously missed something but I can’t figure out what it is.

    Any clues are welcome!

    Oh, and the part is an 18F2620.

    Thanks!

  2. #2
    Join Date
    Dec 2007
    Location
    Sweden
    Posts
    73


    Did you find this post helpful? Yes | No

    Red face Stupid me!

    Sorry, this was a stupid mistake!

    The difference between the following two lines was generating all the errors but not until I used the LCDOUT command!

    Old:
    DEFINE LCD_COMMANDUS 2000 ´ Set command delay time in us

    New:
    DEFINE LCD_COMMANDUS 2000 ‘ Set command delay time in us


    SORRY! :-)

Similar Threads

  1. Timer + rc5
    By naga in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 19th November 2009, 07:56
  2. need help in coding..
    By daphne8888 in forum mel PIC BASIC
    Replies: 1
    Last Post: - 19th March 2008, 07:31
  3. Help GPS read with serin
    By leinske in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 5th September 2007, 02:33
  4. Crystalfontz LCD
    By jman12 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 9th February 2007, 15:04
  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 : 1

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