19 lines
336 B
C
19 lines
336 B
C
#ifndef BASICS_H
|
|
#define BASICS_H
|
|
|
|
#include <Arduino.h>
|
|
|
|
#define X true
|
|
#define _ false
|
|
|
|
#define ____ 0
|
|
#define FULL 255
|
|
|
|
typedef int64_t microseconds_t;
|
|
|
|
double doStep(double valueCurrent, double valueMin, double valueMax, microseconds_t millisecondsTotal, microseconds_t microsecondsDelta);
|
|
|
|
bool randomBool(int uncertainty);
|
|
|
|
#endif
|