-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Configuration
-
Reproduceable with software from commit hash ad66b22
-
SparkFun Redboard with Qwiic Shield connected to a MCP9600 via Qwiic.
-
Example3_SetFilterCoeffecients.ino flashed and serial terminal open.
-
The variable "coefficient" (defined on line 22) must not be equal to zero or greater than seven for the code to work at all.
-
This issue seems to happen for coefficient = 2, 3, 4 but it seems to not happen for coefficient = 5, 6,7.
Expected Output
For coefficient = 2:
Thermocouple: 22.87 °C Ambient: 23.25 °C Temperature Delta: -0.44 °C Current Coeffecient: 10 Thermocouple: 22.81 °C Ambient: 23.25 °C Temperature Delta: -0.50 °C Current Coeffecient: 10 Thermocouple: 22.81 °C Ambient: 23.31 °C Temperature Delta: -0.50 °C Current Coeffecient: 10 Thermocouple: 22.81 °C Ambient: 23.31 °C Temperature Delta: -0.50 °C Current Coeffecient: 10 Thermocouple: 22.81 °C Ambient: 23.25 °C Temperature Delta: -0.50 °C Current Coeffecient: 10 Thermocouple: 22.81 °C Ambient: 23.25 °C Temperature Delta: -0.50 °C Current Coeffecient: 10
Actual Output
For coefficient = 2:
Thermocouple: 22.81 °C Ambient: 23.31 °C Temperature Delta: -0.50 °C Current Coeffecient: 10 Thermocouple: 22.81 °C Ambient: 23.25 °C Temperature Delta: -0.50 °C Current Coeffecient: 10 Thermocouple: 22.81 °C Ambient: 23.25 °C Temperature Delta: -0.50 °C Current Coeffecient: 10 Thermocouple: 22.81 °C Ambient: 23.25 °C Temperature Delta: -0.50 °C Current Coeffecient: 0 Thermocouple: 22.81 °C Ambient: 23.31 °C Temperature Delta: -0.50 °C Current Coeffecient: 10