Newbie? Problem with LCD


Results 1 to 11 of 11

Threaded View

  1. #4
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default

    You think this MikroBASIC code is more difficult than what you came up with?

    Code:
    program Lcd_demo
    
    main:
    
      Lcd_Init(PORTB)                    ' Initialize LCD connected to PORTB
      Delay_ms(500)
    
      While true
    
        Lcd_Cmd(LCD_CLEAR)               ' Send command to LCD "clear display"
        Lcd_Out(1,1,"Hello")               ' Print txt to LCD, 1st row, 1st column
        Delay_ms(500)
    
        Lcd_Cmd(LCD_CLEAR)               ' Send command to LCD "clear display"
        Lcd_Out(2,1,"World")              ' Print txt to LCD, 2nd row, 1st column
        Delay_ms(500)
    
      Wend
    
    end.
    Last edited by rmteo; - 7th December 2009 at 16:32.

Similar Threads

  1. LCD problem with 16F628
    By ngeronikolos in forum mel PIC BASIC Pro
    Replies: 25
    Last Post: - 19th September 2016, 08:28
  2. LCD problem
    By Andre_Pretorius in forum General
    Replies: 8
    Last Post: - 27th January 2009, 15:47
  3. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 16:56
  4. LCD Problem
    By karenhornby in forum General
    Replies: 3
    Last Post: - 19th June 2008, 11:43
  5. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 26th June 2007, 23:07

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