9 lines
296 B
C
9 lines
296 B
C
#include <stdint.h>
|
|
|
|
#define AMP 40000 // ampiezza
|
|
#define T1 25 // cost. tempo tau-1
|
|
#define T2 8 // cost. tempo tau-2
|
|
#define EXP1 0.96079*(1<<10) // valore numerico exp(-1/T1)
|
|
#define EXP2 0.88250*(1<<10) // valore numerico exp(-1/T2)
|
|
|
|
void eval_dexp(int a, int t1, int t2, uint16_t* espo);
|