Reworked Button-Stuff

This commit is contained in:
2022-01-14 15:36:17 +01:00
parent e1ca503bd2
commit cfc6b144f3
5 changed files with 182 additions and 54 deletions

View File

@@ -2,13 +2,14 @@
#define _LUBEAPP_H_
#include <Arduino.h>
#include <stdlib.h>
#include "config.h"
#include "common.h"
#include "globals.h"
#define LUBE_PULSE_LENGHT_MS 160
#define LUBE_PULSE_PAUSE_MS 100
#define BUTTON_HOLD_DELAY 1000
#define STARTUP_DELAY 5000
void RunLubeApp(volatile uint32_t * wheelPulseCounter);
void LubePulse();