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.
Misc.h@2:31917884f2d4, 2021-03-17 (annotated)
- Committer:
- khaiminhvn
- Date:
- Wed Mar 17 14:19:46 2021 +0000
- Revision:
- 2:31917884f2d4
- Parent:
- 1:a46794267da5
- Child:
- 3:a1a820da71f6
Added additional formatting
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
khaiminhvn | 0:d30c0ebaea12 | 1 | #ifndef MISC_H |
khaiminhvn | 0:d30c0ebaea12 | 2 | #define MISC_H |
khaiminhvn | 0:d30c0ebaea12 | 3 | |
khaiminhvn | 0:d30c0ebaea12 | 4 | //INCLUDES |
khaiminhvn | 0:d30c0ebaea12 | 5 | #include "mbed.h" |
khaiminhvn | 0:d30c0ebaea12 | 6 | #include "string" |
khaiminhvn | 0:d30c0ebaea12 | 7 | |
khaiminhvn | 0:d30c0ebaea12 | 8 | class Misc{ |
khaiminhvn | 0:d30c0ebaea12 | 9 | public: |
khaiminhvn | 0:d30c0ebaea12 | 10 | static string itos(int n); |
khaiminhvn | 1:a46794267da5 | 11 | static string itos(int n, int w); |
khaiminhvn | 2:31917884f2d4 | 12 | static string itos(float n); |
khaiminhvn | 2:31917884f2d4 | 13 | static string itos(float n, int w); |
khaiminhvn | 0:d30c0ebaea12 | 14 | }; |
khaiminhvn | 0:d30c0ebaea12 | 15 | |
khaiminhvn | 0:d30c0ebaea12 | 16 | #endif |