Dallas One wire tempreture measurement.

Gregor Horvath gh at gregor-horvath.com
Wed Aug 9 16:28:28 EDT 2006


chris.lyon at spritenote.co.uk schrieb:
>  a previous thread
> 
> http://mail.python.org/pipermail/python-list/2002-June/107616.html
> 
> discussed this issue, and Dave Moor kindly pointed to his solution.
> However this is no longer a current link, does anyone know if there is
> a currently available solution?
> 

I am using  digitemp with this code:


def GetActT():
    "Liest aus Digittemp die temp"
    digi = os.popen("digitemp -q -a -o2 -c /home/gh/.digitemprc")
    f = digi.readlines()
    digi.close()
    return float(f[0].split()[1])

-- 
  Servus, Gregor
  http://www.gregor-horvath.com



More information about the Python-list mailing list