Compare value ...


Closed Thread
Results 1 to 40 of 69

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,668


    Did you find this post helpful? Yes | No

    Default Re: Compare value ...

    guess its my fault , should have launched into defensive mode on first reply
    like this
    it looked too easy.

    http://www.picbasic.co.uk/forum/showthread.php?t=24035

    questions to ask

    what have you tried ?
    what are you measuring ?
    where is your schematic ?
    your code is incomplete what is in your config section ?
    i see an incompletely described pgm with no config settings
    in an unspecified circuit
    no OSC statement in pbp code and still not a clue about the config settings used
    it just occurred to me that the op may be a troll and we have just been played.
    there is no way that the the op's code would ever have shown a realistic temp display with a lm335/lm235
    because multiplying the reading with an offset would yield meaningless results.
    it could have displayed a lm35 result as it was .
    at no time did op ever say the displayed temp results were also wrong
    i wonder.
    Last edited by richard; - 10th April 2020 at 12:16.
    Warning I'm not a teacher

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: Compare value ...

    Do you think the op just troll us?

  3. #3
    Join Date
    May 2013
    Location
    australia
    Posts
    2,668


    Did you find this post helpful? Yes | No

    Default Re: Compare value ...

    Do you think the op just troll us?
    seems likely when you analyse it a bit

    how many newcomers can use the */ operator properly
    temperature= (temp*10) */ quanta
    or format a lcd line
    lcdout $FE, 2, "Temp ",dec2 (temperature/100),".", dec1 (temperature//100),$DF,"C"

    yet cannot use an if else block to set/clear a pin from a simple comparison
    Warning I'm not a teacher

  4. #4
    Join Date
    Apr 2020
    Posts
    30


    Did you find this post helpful? Yes | No

    Default Re: Compare value ...

    Quote Originally Posted by richard View Post

    it just occurred to me that the op may be a troll and we have just been played..
    ...

    But please, thank you very much but don't make up stories.

    What does this phrase mean, which I pretended not to know how to do?
    A long time ago I was a more practical programmer and I certainly do not miss old preserved codes on which I went to browse to retrieve pieces of code here and there.

    I had the working object and could not find the source. Since I had noticed a bug I wanted to correct it. Not finding the source I thought to rewrite it. From there the adventure began.

    I am dusting off, I would love to start being a programmer again but times run like the wind.

    I hope to get back on track.

    I hope it is clear what I write, I use google translator.

  5. #5
    Join Date
    May 2013
    Location
    australia
    Posts
    2,668


    Did you find this post helpful? Yes | No

    Default Re: Compare value ...

    But please, thank you very much but don't make up stories
    i feel no shame , if it looks like a duck and it walks like a duck i'm prepared to say it could be a duck.

    you misled us with the sensor type, provided code that really can't display a meaningful result for the actual sensor in use
    yet provide no indication of that problem at all. you go on to describe a problem that's actually not relevant as if that's the main issue.
    worse still the code provided could very well have displayed proper temperature data with the bogus sensor.
    a troller would have been proud of the effort and result.
    its not a good look for a new user.
    Warning I'm not a teacher

  6. #6
    Join Date
    Apr 2020
    Posts
    30


    Did you find this post helpful? Yes | No

    Default Re: Compare value ...

    Quote Originally Posted by richard View Post
    you misled us with the sensor type, provided code that really can't display a meaningful result for the actual sensor in use
    yet provide no indication of that problem at all. you go on to describe a problem that's actually not relevant as if that's the main issue.
    worse still the code provided could very well have displayed proper temperature data with the bogus sensor.
    a troller would have been proud of the effort and result.
    its not a good look for a new user.
    Well I'm sorry. I don't know why you like to make all these insinuations.
    But I can guarantee you that I had no bad intention. And I don't think it's fair to judge a person like that, but what I've done wrong?
    But every time I have to post something, I have to be afraid of being investigated in this way.
    Richard, maybe you see too many detective films.
    Well I'm sorry. I don't know why you like to make all these insinuations.
    But I can guarantee you that I had no bad intention. And I don't think it's fair to judge a person like that, but what I've done wrong?
    But every time I have to post something, I have to be afraid of being investigated in this way.
    Richard, maybe you see too many detective films.
    In any case, I think, it is going off topic. I was here to learn and get advice, not to be charged.

  7. #7
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,166


    Did you find this post helpful? Yes | No

    Default Re: Compare value ...

    Calm everybody please.

    End of story.

    Seems that our lockdown makes everybody more sensitive!

    Ioannis

Similar Threads

  1. How to compare two temperatures
    By SKOLS1 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 10th April 2012, 09:07
  2. how to hserin compare with known value?
    By aa222k in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 23rd November 2010, 18:48
  3. Is there a faster way to compare?
    By RussMartin in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 8th February 2010, 19:48
  4. how to compare data
    By Mus.me in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 1st November 2009, 22:30
  5. Compare Data
    By Pesticida in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 14th February 2008, 20:40

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