new hardware

This commit is contained in:
2022-03-21 08:48:30 +01:00
parent c6dbbd4a02
commit eb976bcb6c
169 changed files with 172343 additions and 129089 deletions

View File

@@ -1,7 +1,6 @@
#include <Arduino.h>
#include "board.h"
#include "display.h"
#include "leds.h"
#include "measure.h"
#include "buttons.h"
#include "gui.h"
@@ -14,7 +13,6 @@ void setup()
initBoard();
initButtons();
initDisplay();
initLeds();
initMeasure();
initGui();
@@ -25,10 +23,10 @@ void loop()
{
// put your main code here, to run repeatedly:
looptime = micros();
handleLeds();
handleMeasure();
handleButtons();
handleGui();
handleGUIButtons();
handleDisplay(); //make sure to update the display last (writes buffer to the screen)
Serial.printf("T=%4.2fms\n", (double)(micros() - looptime)/1000);
log_i("T=%4.2fms\n", (double)(micros() - looptime)/1000);
}