Shop OBEX P1 Docs P2 Docs Learn Events
Sensirion_integer.spin and below zero temperatures — Parallax Forums

Sensirion_integer.spin and below zero temperatures

MoskogMoskog Posts: 554
edited 2013-06-02 22:19 in Accessories
I'm looking at Tracy Allen's spin-file for Sensirion Sht11 (sensirion_integer.spin).
Around line 59 he comments the code with "..traps data line stuck at zero, or temperature >124 degC"

Does this mean the code is designed only for positive [C] temperatures?

Comments

  • Tracy AllenTracy Allen Posts: 6,658
    edited 2013-06-02 22:19
    That zero is before applying the offset to -40 degC. It is binary zero returned by the sensor, that is an error, unless of course you happen to live in Norway:)
Sign In or Register to comment.