new hardware
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user