Combines locate fix, show/hide cursor + Justin Jordans additions
Fork of Terminal by
Diff: Terminal.h
- Revision:
- 6:419eea2fe960
- Parent:
- 5:5d3dc5f8f7b4
- Child:
- 9:45fba42a98aa
--- a/Terminal.h Fri Jun 03 19:05:10 2016 +0000 +++ b/Terminal.h Sat Jul 30 20:14:05 2016 +0000 @@ -20,6 +20,8 @@ * THE SOFTWARE. */ + +#include <string> #include "mbed.h" #ifndef MBED_TERMINAL_H @@ -88,6 +90,14 @@ * @param max_val - maximum value of input range */ char get_char(const char *msg, const char min_val, const char max_val); + + /**Get Float from user + * + * @param msg - User prompt + * @param min_val - minimum value of input range + * @param max_val - maximum value of input range + */ + float get_float(const char *msg, const float min_val, const float max_val); }; #endif