led stuff

This commit is contained in:
2019-10-31 21:45:22 +01:00
parent 34f6066ef1
commit 236632cf63
4 changed files with 41 additions and 1 deletions

View File

@ -9,6 +9,8 @@
#include "LS7366R.h"
#include "influx.h"
#include "ringbuffer.h"
#include "led.h"
const int CTRL_OUT = 16;
const int INTR_IN = 19;
@ -58,6 +60,7 @@ void start() {
int main (void) {
readConfig();
init();
ledInit();
ls7366rInit(SPI_CHAN);
influxInit(&cfg);
start();