From 6ab62bf658e43a543d0523a4df707bdf815c15f5 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Wed, 27 Feb 2019 17:31:10 +0000 Subject: [PATCH] - MAX31865: use oneshot mode git-svn-id: http://moon:8086/svn/projects/HendiControl@28 fda53097-d464-4ada-af97-ba876c37ca34 --- MotorDriver/max31865.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MotorDriver/max31865.py b/MotorDriver/max31865.py index 8bfb354..d88eaca 100644 --- a/MotorDriver/max31865.py +++ b/MotorDriver/max31865.py @@ -76,7 +76,7 @@ def vanDusen_temp(Rmeas): return T # Main -write_reg(0x00, 0xe3) +write_reg(0x00, 0xA3) digits = read_digits() R = calc_R(430, digits) T = vanDusen_temp(R)