write freq to influx
This commit is contained in:
parent
15e2f831b8
commit
dd525c88d8
@ -5,6 +5,8 @@
|
|||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
#include "LS7366R.h"
|
#include "LS7366R.h"
|
||||||
|
#include "influx.h"
|
||||||
|
|
||||||
|
|
||||||
const int CTRL_OUT = 16;
|
const int CTRL_OUT = 16;
|
||||||
const int INTR_IN = 19;
|
const int INTR_IN = 19;
|
||||||
@ -65,5 +67,6 @@ int main (void) {
|
|||||||
|
|
||||||
double f = 1.0 / (((double) my_diff) / 1000000.0);
|
double f = 1.0 / (((double) my_diff) / 1000000.0);
|
||||||
printf("%f\n", f);
|
printf("%f\n", f);
|
||||||
|
influxSendFrequency(f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user