Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Utils.h
- Revision:
- 0:ef0a1a6d4a40
diff -r 000000000000 -r ef0a1a6d4a40 Utils.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Utils.h Sat Sep 14 22:58:28 2013 +0000 @@ -0,0 +1,21 @@ +/* + * File: Utils.h + * Author: Kleber Kruger + * + * Created on 11 de Junho de 2013, 11:39 + */ + +#ifndef UTILS_H +#define UTILS_H + +#include "mbed.h" + +unsigned int getRandomIntPositive(unsigned int min, unsigned int max); + +double getRandomDouble(double min, double max); + +float getRandomFloat(float min, float max); + +char *itoa(int value, char *result, int base); + +#endif /* UTILS_H */