Mercurial > hg > beaglert
diff include/Utilities.h @ 0:8a575ba3ab52
Initial commit.
author | andrewm |
---|---|
date | Fri, 31 Oct 2014 19:10:17 +0100 |
parents | |
children | 09f03ac40fcc |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/Utilities.h Fri Oct 31 19:10:17 2014 +0100 @@ -0,0 +1,14 @@ +/* + * Utilities.h + * + * Created on: Oct 27, 2014 + * Author: parallels + */ + +#ifndef UTILITIES_H_ +#define UTILITIES_H_ + +float map(float x, float in_min, float in_max, float out_min, float out_max); +float constrain(float x, float min_val, float max_val); + +#endif /* UTILITIES_H_ */