Newbie? Problem with LCD


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    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 17:32.

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Talking Backfire ...

    Quote Originally Posted by rmteo View Post
    You think this MikroBASIC code...
    Hi, Rmteo

    PBP also has the While - Wend loops ... LOL

    Seriously ... Having tested both ... on " real " programs.

    No comparison possible ... MkBasic FAR Behind ...


    BTW ... If you'd want a C Pro license ... I GIVE you mine.

    Not Joking at all !

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    Hi, Rmteo

    PBP also has the While - Wend loops ... LOL

    Seriously ... Having tested both ... on " real " programs.

    No comparison possible ... MkBasic FAR Behind ...


    BTW ... If you'd want a C Pro license ... I GIVE you mine.

    Not Joking at all !

    Alain
    Although I am not a C user, I'll take it.

Similar Threads

  1. LCD problem with 16F628
    By ngeronikolos in forum mel PIC BASIC Pro
    Replies: 25
    Last Post: - 19th September 2016, 09:28
  2. LCD problem
    By Andre_Pretorius in forum General
    Replies: 8
    Last Post: - 27th January 2009, 16:47
  3. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 17:56
  4. LCD Problem
    By karenhornby in forum General
    Replies: 3
    Last Post: - 19th June 2008, 12:43
  5. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 27th June 2007, 00: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