- MAX31865: use oneshot mode
git-svn-id: http://moon:8086/svn/projects/HendiControl@28 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
@@ -76,7 +76,7 @@ def vanDusen_temp(Rmeas):
|
|||||||
return T
|
return T
|
||||||
|
|
||||||
# Main
|
# Main
|
||||||
write_reg(0x00, 0xe3)
|
write_reg(0x00, 0xA3)
|
||||||
digits = read_digits()
|
digits = read_digits()
|
||||||
R = calc_R(430, digits)
|
R = calc_R(430, digits)
|
||||||
T = vanDusen_temp(R)
|
T = vanDusen_temp(R)
|
||||||
|
|||||||
Reference in New Issue
Block a user