P16F1827 and LCD Problems


Closed Thread
Results 1 to 29 of 29

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    How much with PBP ????
    With PBP, give or take a few:
    Program Memory Words Used: 285
    Program Memory Words Free: 3811

    Give or take a little. So, about 7%, compared to MicroC's 29% used.

    Now, this is not a fair comparison, because I don't know what MicroC's test program you are using, or what it does. PBP numbers are for just printing two variables to an LCD display.
    Last edited by ScaleRobotics; - 30th January 2011 at 18:07.

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


    Did you find this post helpful? Yes | No

    Default

    Now, this is not a fair comparison, because I don't know what MicroC's program is doing
    Hoooooo ...

    See #4

    Program just reads voltage on ADC channel 2 , prints a text on line one of the LCD and prints the ADC voltage in V.VVV format on the second line ... of course with the Unit !

    Comparison is not unfair at all as the shortest MkC Pro available way to display numbers is used here ...
    you had also noted the LONG type use for "calculations" ... unavoidable with MkC.

    I already made a comparison on this Forum and result was similar ...
    PBP and Proton were quite the same for the result.

    Alain
    Last edited by Acetronics2; - 30th January 2011 at 18:15.
    ************************************************** ***********************
    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
    Dec 2010
    Location
    Michigan
    Posts
    31


    Did you find this post helpful? Yes | No

    Talking

    I am not sure which program you are referring to?
    The one That gave me the display was written by me on a PIC16F88 using C.
    I gave up on the 16F1827 do to lack of programming knowledge and lack of sample programs for that chip. Now that I have a somewhat grasp on the basics, I have been able to read and display the ADC value of a pot, (will use that later to read 3 switches on one pin).
    It is all the PIC dependent declarations at the very beginning of the program that trip me up.

    Bob

    You have to crawl before you walk, and I am starting to crawl pretty well.

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Bobw55 View Post
    I am not sure which program you are referring to?
    Without any further notice we all were on posts #1 and #3 ...
    The one That gave me the display was written by me on a PIC16F88 using C.
    Of course result was not exactly that expected with #3 program ...
    I gave up on the 16F1827 do to lack of programming knowledge and lack of sample programs for that chip. Now that I have a somewhat grasp on the basics, I have been able to read and display the ADC value of a pot, (will use that later to read 3 switches on one pin).
    It is all the PIC dependent declarations at the very beginning of the program that trip me up.
    So, comes the killing question ...

    Did you notice we're aboard a PICBASIC PRO ( MeLabs brew ) forum, and we are supposed to "speak" Basic ???

    me too ...

    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 " !!!
    *****************************************

  5. #5
    Join Date
    Dec 2010
    Location
    Michigan
    Posts
    31


    Did you find this post helpful? Yes | No

    Default

    Yes I do know this is a BASIC forum.
    My post was only to thank those who were trying to help me get started.

    Bob

Members who have read this thread : 1

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