displays


Results 1 to 20 of 20

Thread: displays

Threaded View

  1. #9
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Which error message you get?

    Code:
            '
            '       LCD setup
            '       =========
            DEFINE LCD_DREG PORTB               ' LCD data port
            DEFINE LCD_DBIT 0                   ' LCD data starting bit
            DEFINE LCD_RSREG PORTB              ' LCD register select port
            DEFINE LCD_RSBIT 4                  ' LCD register select bit
            DEFINE LCD_EREG PORTB               ' LCD enable port
            DEFINE LCD_EBIT 5                   ' LCD enable bit
            DEFINE LCD_BITS 4                   ' LCD data bus size
            DEFINE LCD_LINES 4                  ' Number lines on LCD
            DEFINE LCD_COMMANDUS 2000           ' Command delay time in us
            DEFINE LCD_DATAUS 50                ' Data delay time in us
    
            Pause   500                         ' LCD startup delay        
            LCDOUT  $FE,  1,"LINE 1",_
                    $FE,$C0,"LINE 2",_
                    $FE,$94,"LINE 3",_
                    $FE,$D4,"LINE 4"
    SpinHere:
            goto spinhere
    It's written black on white in the manual, or in the MicroCode Studio Help.
    Last edited by mister_e; - 10th February 2007 at 17:51.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. 7 Segment Displays and MAX7219
    By Bill Legge in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 31st October 2010, 19:30
  2. Anyone using Vacuum Flurecent Displays?
    By Art in forum General
    Replies: 6
    Last Post: - 25th March 2010, 00:30
  3. Multplexing two 7-Segment Displays with PIC16F84A
    By lawriem72 in forum mel PIC BASIC
    Replies: 2
    Last Post: - 19th July 2007, 22:27
  4. LCD Displays
    By Roland in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 16th August 2005, 10:43
  5. Melanie's LCD displays
    By BobK in forum Adverts
    Replies: 1
    Last Post: - 24th October 2004, 12:27

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