- /**
+/**
  * Medida de Temperatura usando LM35 e Termopar MTK-01
  * 
  * @authors Rafael, Camila, Pamella
- * @version 0.12 'Teste Leitura multiplos sensores'
+ * @version 0.9 'Filtros Implementados'
  */
 
 // Bibliotecas ---------------------------------------------------------------------------------

  bufferMvAvgExpFilter[k] += buffer[a1]*pMvAvgExpFilter[2];
  bufferMvAvgExpFilter[k] += buffer[k]*pMvAvgExpFilter[3];
}

#define PIN_LM35      A0
#define PIN_MTK01     A1

#define GAIN_LM35      6
#define GAIN_MTK01     101

#define A_LM35      100*(5/1024)
#define A_MTK01     410*(5/1024)

#define INTERVAL      200  //ms
#define SIZE_BUFFER   10
#define SIZE_BUFFER_F 10   // Parâmentro Filtro Média Móvel
#define ALPHA         0.8  // Parâmentro Filtro Média Móvel Ponderada

// Parâmetros Filtro de Kalman
#define KALMAN_A        1
#define KALMAN_B        0
#define KALMAN_CONTROL  0
#define KALMAN_R        0.5
#define KALMAN_C        1
#define KALMAN_Q        10
#define KALMAN_COV      10000

// Variáveis Globais  --------------------------------------------------------------------------

