2022-07-24 01:09:22 +00:00
|
|
|
#ifndef speed_h
|
|
|
|
#define speed_h
|
|
|
|
#include <Arduino.h>
|
2022-07-25 08:04:51 +00:00
|
|
|
#include <fluroclock.h>
|
2022-07-24 01:09:22 +00:00
|
|
|
|
|
|
|
extern float flashspeed;
|
|
|
|
extern float highscore;
|
|
|
|
extern unsigned long flashdeadtime;
|
|
|
|
extern float calib_distance;
|
|
|
|
|
|
|
|
extern float lastMeasuredSpeeds[10];
|
|
|
|
void flash();
|
2022-07-25 08:04:51 +00:00
|
|
|
void handleSpeedLoop();
|
|
|
|
void handleSpeedSetup();
|
2022-07-24 01:09:22 +00:00
|
|
|
void doTrigger(float speed);
|
|
|
|
void addLastSpeed(float speed);
|
|
|
|
#endif
|