]> oss.titaniummirror.com Git - tinyos-2.x.git/commit
Update WindVaneC to use newer underlying code.
authorsmckown <smckown@4bc1554a-c7f2-4f65-a403-e0be01f0239c>
Wed, 4 Nov 2009 03:55:06 +0000 (03:55 +0000)
committerR. Steve McKown <rsmckown@gmail.com>
Tue, 1 Dec 2009 03:01:46 +0000 (20:01 -0700)
commitd77247da5b155b1653e5044fe59ece639dce90bd
tree351972d9f6091ae6502259cbb897689929e11c5c
parent0af086c5bf6a9038446bb804d9a463fd32b4aa77
Update WindVaneC to use newer underlying code.

Wind directions are returned as sectors; use the sector count available by
call Sectors.get() to convert to degrees.  Doing this saves some memory.
tos/platforms/tmirws/sensors/WindVane.h
tos/platforms/tmirws/sensors/WindVaneC.nc
tos/platforms/tmirws/sensors/WindVaneP.nc