0

I have a simple Low pass filter in my program that stops working after some time (Let say 4 hours or more). 'CRate' is a double type variable between -20 and 100.
uint8_t T_Sample=10;
double FCR0=100.0, CRate=0, FCR=0;
loop()
{
// CRate is calculated here
double Tau = 0.001;
double v = 1000...