Permalink
Switch branches/tags
Nothing to show
Commits on May 23, 2013
  1. Added git ignore file.

    committed May 23, 2013
Commits on Sep 10, 2012
  1. Added flush after printing reading.

    committed Sep 10, 2012
Commits on Mar 21, 2011
  1. Added check for valid data before returning.

    Make sure the temperature are within spec; +/- 200 for temperature and 0..100
    for humidity.  If the data is not correct, retry twice.
    
    It appears that there is some initial data in the buffer that is not temp or
    humidity when a computer is first booted up.  This retry mechanism clears out
    the buffer until there is reasonable data in the pipe.
    committed Mar 21, 2011
  2. Updated the retry parameter to retries.

    This parameter now specifies the number of times the operation can be retried,
    meaning if the operation should be retried more than once, specify the number
    of times the reading should be attempted.
    committed Mar 21, 2011
  3. Updated the count flag to be "n", not "c"

    The -c flag was a little to close to looking like it meant, "give me celcius."
    Use "n" to mean the number of readings to retrieve.
    committed Mar 21, 2011
  4. Added get_reading_r() function to lascar library.

    This function contains the retry parameter and is used internally.  Users of
    the library should not be concerned with retry semantics.
    committed Mar 21, 2011
  5. Added robustness to requesting data.

    The device always sends temp then hum, temp then hum, etc.  It's possible to
    get out of sync with the device and expect temp but get hum.  This patch checks
    for temperature first, which is three bytes and if it doesn't get three bytes,
    it throws out the result and retries the request in hopes to get back in sync.
    
    This situation should only occur on startup, not arbitrarily during a run.
    committed Mar 21, 2011
Commits on Mar 20, 2011
  1. Updated README

    committed Mar 20, 2011
  2. Updated README

    committed Mar 20, 2011
  3. Renamed readme to rst file.

    committed Mar 20, 2011
  4. Updated README

    committed Mar 20, 2011
  5. Updated the count behavior.

    By default only retrieve a single reading.  When -c is passed as 0, go forever.
    Any other number will return the requested number of readings and exit.
    committed Mar 20, 2011
  6. Added C -> F conversion.

    committed Mar 20, 2011
  7. Updated main()

    The main program is an infinite loop that continuously grabs data from the
    device.
    committed Mar 20, 2011
  8. Fixed up copyright block.

    committed Mar 20, 2011
Commits on Oct 1, 2010
  1. añadido asterisco

    git-svn-id: http://lascar-usb-termometer.googlecode.com/svn/trunk@16 906c0d62-311f-1372-1889-de3d1dd39de0
    angel.sancho committed Oct 1, 2010
Commits on Sep 29, 2010
  1. cosmetical changes

    git-svn-id: http://lascar-usb-termometer.googlecode.com/svn/trunk@15 906c0d62-311f-1372-1889-de3d1dd39de0
    angel.sancho committed Sep 29, 2010
Commits on Sep 28, 2010
  1. More README file

    git-svn-id: http://lascar-usb-termometer.googlecode.com/svn/trunk@14 906c0d62-311f-1372-1889-de3d1dd39de0
    angel.sancho committed Sep 28, 2010
  2. More README file

    git-svn-id: http://lascar-usb-termometer.googlecode.com/svn/trunk@13 906c0d62-311f-1372-1889-de3d1dd39de0
    angel.sancho committed Sep 28, 2010
  3. More README file

    git-svn-id: http://lascar-usb-termometer.googlecode.com/svn/trunk@6 906c0d62-311f-1372-1889-de3d1dd39de0
    angel.sancho committed Sep 28, 2010
  4. Improved README file

    git-svn-id: http://lascar-usb-termometer.googlecode.com/svn/trunk@5 906c0d62-311f-1372-1889-de3d1dd39de0
    angel.sancho committed Sep 28, 2010
  5. Readme minimal change

    git-svn-id: http://lascar-usb-termometer.googlecode.com/svn/trunk@4 906c0d62-311f-1372-1889-de3d1dd39de0
    angel.sancho committed Sep 28, 2010
  6. Timeout of reading device changed (again)

    git-svn-id: http://lascar-usb-termometer.googlecode.com/svn/trunk@3 906c0d62-311f-1372-1889-de3d1dd39de0
    angel.sancho committed Sep 28, 2010
  7. Timeout of reading device changed

    git-svn-id: http://lascar-usb-termometer.googlecode.com/svn/trunk@2 906c0d62-311f-1372-1889-de3d1dd39de0
    angel.sancho committed Sep 28, 2010
  8. First Import

    git-svn-id: http://lascar-usb-termometer.googlecode.com/svn/trunk@1 906c0d62-311f-1372-1889-de3d1dd39de0
    angel.sancho committed Sep 28, 2010