DS1726 in PBP


Closed Thread
Results 1 to 7 of 7

Thread: DS1726 in PBP

Hybrid View

  1. #1
    Join Date
    Dec 2006
    Posts
    6


    Did you find this post helpful? Yes | No

    Talking Getting closer...

    Ok, I got myself a DS18B20 and used the code above, works like a champ!

    Now...does anyone have an easy way to get a 1-decimal point reading when we're below 32F? (when it goes below 0c, it truncates the F reading to whole numbers only)

    Thanks for all your help!!
    Kris

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Hainkm View Post
    Ok, I got myself a DS18B20 and used the code above, works like a champ!

    Now...does anyone have an easy way to get a 1-decimal point reading when we're below 32F? (when it goes below 0c, it truncates the F reading to whole numbers only)

    Thanks for all your help!!
    Kris
    Look at Bruce's math expressions in the yikes sub directory, look at how he did it for degrees C using the DIG modifier, I think thats how it's done. Understand I'm still feeling stupid here so don't trust me, but I really think it is the DIG 3 or DIG 4 modifiers doing it, so check the manual 4.17.7 DIG page 33.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. PBP Book
    By Bruce in forum Off Topic
    Replies: 83
    Last Post: - 4th October 2021, 12:55
  2. Extensions to PBP variables
    By John_Mac in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd October 2009, 05:21
  3. Compiler differences between PBP 2.33 & 2.46
    By nikopolis in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd May 2006, 19:01
  4. Newby- PBP wont compile for 18F (MPLAB)
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th December 2005, 23:30
  5. PBP / XP Crash
    By pondindustrial in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 27th November 2005, 03:16

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