More Powerful LCD Commands


Closed Thread
Results 1 to 32 of 32

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    I see mister_e but it takes extra work, doesn’t it?

    Who are the people that will really read "PBP Wish List" and then consider some of the posts for the next version?

    In other words, is there really a consideration of the posts here?

    If so, if they like an idea here at "PBP Wish List", will they really consider putting them into the next version and, may be, will name it with the member’s who posted it?

    Code:
    sayzer $fe,$cx,”Hello Word”	'right align “Hello Word” on lcd
    
    mister_e 0, eeprom		'format the entire eeprom 
                                    'and assign 0 to each location.



    Trademarks: name of “mister_e” belongs to mister_e




    --------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  2. #2
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    I don't want to start yet another "heated debate", but

    I feel LCDOUT "as it is" gives you all you need to get started quickly on a standard character display.

    With a bit of creativity you can achieve almost anything on a standard LCD.
    (even simple graphics)

    If you want more, go be creative and write your own routines that do exactly what you want (or need) and nothing else.
    You will learn a lot and in addition you will (most likely) save some codespace.

    Of Course LCDOUT could have more bells and whistles, but then it would require even more code space than it already does to simply display "Hello World"
    (would it be a real benefit if it would require at least an 18F PIC to simply display two lines of text on any LCD?)

    I started with HD44780 (or compatible) LCDs and was happy to have the (in my oppinion) powerful LCDOUT.
    Today I use all kinds of displays with different controllers and I prefer Displays with SPI or I2C to save some port pins.
    With those "non HD44780" Controllers LCDOUT is of no use at all,
    one has just to be creative.

    It is even more complex with GLCDs, which Controller should be supported?
    There is actually no standard.

    What I really like with PBP is: it is bullet proof.

    Several other compilers have all kinds of "special features" but actually lack of basic functionality and reliability.
    (One never knows where to start searching for the cause of an unexpected result)

    I have never found a real bug in PBP
    ok, sometimes code didn't work as expected,
    but looking closer to it I had to realise:
    it simply worked as designed!

    PBP follows one simple rule:
    GARBAGE IN - GARBAGE OUT
    (I have seen other Products where you get GARBAGE OUT whatever you put in)

    If one takes the time to study the excellent PBP Manual
    and the datasheets of all hardware involved in the specific design
    and follows some design rules
    it will work reliably not only on the bench but also in the field.
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  3. #3
    Join Date
    Jun 2006
    Location
    Bangalore, India
    Posts
    136


    Did you find this post helpful? Yes | No

    Smile 2 wire LCD interface

    It would be awesome if PBP had a 2 wire LCD suppurt.
    Maybe something like LCDOUT2 or something . . .
    To clarify what i mean, i have attached a schematic and the ASM source code from Myke's page.
    << http://www.myke.com/lcd.htm >>> This is given at the end of the page.
    Is it possible to incorporate this in PBP ???
    He uses a shift register to send data and a resistor-diode AND logic to strobe the enable bit of the LCD . . .
    How can i do this in PBP ? ? ?
    Attached Images Attached Images  
    Attached Files Attached Files
    Last edited by shahidali55; - 22nd April 2007 at 09:50.

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


    Did you find this post helpful? Yes | No

    Default

    I2CWRITE or SHIFTOUT should do the trick...

    But to me, any 1 wire serial adapter would be good enough.

    Code:
    Start:
        HSERIN [TheData] ' OR DEBUGIN/SERIN/SERIN2
        LCDOUT TheData
        GOTO Start
    Fantastic situation to use any of your forgiven or useless PIC. Like PIC16F84, 16C54 etc etc
    Last edited by mister_e; - 22nd April 2007 at 18:40.
    Steve

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

  5. #5
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e
    Fantastic situation to use any of your forgiven or useless PIC. Like PIC16F84, 16C54 etc etc
    Hey Steve, looks like you still have plenty of F84's & C54's on the shelf.
    (Probably even C84's)

    How about RoHS compliance of your stock ;-)
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



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


    Did you find this post helpful? Yes | No

    Default

    HEY RALPH! Well i followed your suggestion a while back (more than 2 years ago) (http://www.picbasic.co.uk/forum/show...88&postcount=7) ... i use them on my pinboard... or as staple

    Reuse
    Old and
    Hassling
    Stock

    C84?

    PS: i know you love'em, so i can send you a few LMAO!
    Last edited by mister_e; - 24th April 2007 at 22:27.
    Steve

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

  7. #7
    Join Date
    Jun 2006
    Location
    Bangalore, India
    Posts
    136


    Did you find this post helpful? Yes | No

    Question

    So how exactly am i suppose to use I2CWRITE or SHIFTOUT to print on LCD using the circuit i had attached earlier ?
    Will i have to do some modification to the circuit or will it directly work if i just send the LCD commands to SHIFTOUT ? ? ?

Similar Threads

  1. Is this code not initialising the LCD properly?
    By Platypus in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 30th January 2010, 19:14
  2. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 19:54
  3. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 26th June 2007, 23:07
  4. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30
  5. Dedicated LCD Controller question
    By chuckles in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 27th February 2006, 14:44

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