Dummy needs LCD tutorial,


Closed Thread
Results 1 to 33 of 33

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    Hi Darrell,

    I love the bar graph display. Can it be set up to do the following:

    1. A text line showing the current temperature in deg C with 0.1 deg resolution. (Temperature data from a thermistor via a PIC a/d data channel.)

    2. Several bar graph lines showing (a.) the current temp. and (b.) the temp. as recorded in the preceeding 30 second intervals; with as many bars as is practical.

    3. As a new data bar is entered the oldest bar drops off.

    Possible?
    Last edited by Dick Ivers; - 29th September 2005 at 00:00.

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Dick Ivers
    Hi Darrell,

    I love the bar graph display. Can it be set up to do the following:

    1. A text line showing the current temperature in deg C with 0.1 deg resolution. (Temperature data from a thermistor via a PIC a/d data channel.)

    2. Several bar graph lines showing (a.) the current temp. and (b.) the temp. as recorded in the preceeding 30 second intervals; with as many bars as is practical.

    3. As a new data bar is entered the oldest bar drops off.

    Possible?
    Absolutely Possible!

    You can have as many bars as you can fit on the screen. They can come and go anytime you please.

    Just remember that when you're finished with 1 particular BAR, call the BARgraph macro 1 more time with a 0 value, to clear the area that it used. It's more efficient than clearing the screen, and re-drawing everthing else. Looks better without the flicker too .
    <br>
    Glad you like it! Thanks!
    DT

  3. #3
    TK5EP's Avatar
    TK5EP Guest


    Did you find this post helpful? Yes | No

    Default Porting Bargraph include to other Picbasic.

    Hi Darrell,

    I too like your include and already posted a question about it, but did not get any answer.

    I would like to use it with another Picbasic.

    In one line you have : Remainder = R2

    What is this R2 ?

    Do you know if your file has been ported to other versions of Picbasic ?

    Thanks,

    Quote Originally Posted by Darrel Taylor
    Absolutely Possible!

    You can have as many bars as you can fit on the screen. They can come and go anytime you please.

    Just remember that when you're finished with 1 particular BAR, call the BARgraph macro 1 more time with a 0 value, to clear the area that it used. It's more efficient than clearing the screen, and re-drawing everthing else. Looks better without the flicker too .
    <br>
    Glad you like it! Thanks!

  4. #4
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    You see, there are reasons why you should be using the MeLabs compiler... Darrel's magic code is one of them...

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. LCD Problem
    By karenhornby in forum General
    Replies: 3
    Last Post: - 19th June 2008, 11:43
  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