code update

This commit is contained in:
2021-06-10 13:00:29 +02:00
parent d1e8b0db1a
commit 6828298485
26 changed files with 4699 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
#include <Arduino.h>
#include "board.h"
#include "display.h"
#include "leds.h"
#include "measure.h"
uint64_t looptime = 0;
void setup()
{
// put your setup code here, to run once:
initBoard();
initDisplay();
initLeds();
initMeasure();
looptime = millis();
}
void loop()
{
// put your main code here, to run repeatedly:
looptime = micros();
handleDisplay();
handleLeds();
handleMeasure();
Serial.printf("T=%4.2f\n", (double)(micros() - looptime)/1000);
}