write freq to influx

This commit is contained in:
Wolfgang Hottgenroth 2019-10-05 23:50:01 +02:00
parent 15e2f831b8
commit dd525c88d8
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -5,6 +5,8 @@
#include <pthread.h>
#include "LS7366R.h"
#include "influx.h"
const int CTRL_OUT = 16;
const int INTR_IN = 19;
@ -65,5 +67,6 @@ int main (void) {
double f = 1.0 / (((double) my_diff) / 1000000.0);
printf("%f\n", f);
influxSendFrequency(f);
}
}