LCDout Command w/ LCD 4x40 display


Results 1 to 26 of 26

Threaded View

  1. #1
    beto's Avatar
    beto Guest

    Default LCDout Command w/ LCD 4x40 display

    Hi!
    This lcd have 2 Enable lines (e1,e2), anyone know, how these lines to be handled by the pbp compiler?
    I buil this circuits but doesn't work ...
    Can helpme please? thanks ..... Friends
    code) look like this:


    DEFINE OSC 10
    DEFINE LCD_DREG PORTB
    DEFINE LCD_BIT 0
    DEFINE LCD_RSREG PORTD
    DEFINE LCD_RSBIT 7
    DEFINE LCD_EREG PORTD
    DEFINE LCD_BITS 8
    DEFINE LCD_LINES 4
    DEFINE LCD_EBIT 6

    dsp var portd.5
    FLAGS = 0

    START:

    dsp = 0
    LCDOUT $FE,1 :PAUSE 500 : LCDOUT "SYSTEM 1" 'lcd upper

    dsp = 1
    LCDOUT $FE,1 :PAUSE 500 : LCDOUT "TWO SYSTEM" ' bottom lcd

    goto start
    Attached Images Attached Images  

Similar Threads

  1. Timer + rc5
    By naga in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 19th November 2009, 07:56
  2. PIC16F684 + LCD to use the 256bytes of EEPROM - HELP
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 7th March 2008, 14:19
  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 : 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