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.
Fork of reScale by
reScale.h@2:457c3e6a7c13, 2018-08-31 (annotated)
- Committer:
- Marcelocostanzo
- Date:
- Fri Aug 31 13:33:50 2018 +0000
- Revision:
- 2:457c3e6a7c13
- Parent:
- 0:04d95412bcd3
Funcionando, FInal
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| c0ax | 0:04d95412bcd3 | 1 | #include "mbed.h" |
| c0ax | 0:04d95412bcd3 | 2 | |
| c0ax | 0:04d95412bcd3 | 3 | class reScale { |
| c0ax | 0:04d95412bcd3 | 4 | public: |
| Marcelocostanzo | 2:457c3e6a7c13 | 5 | reScale(float in_min, float in_max, float out_min, float out_max); |
| c0ax | 0:04d95412bcd3 | 6 | |
| Marcelocostanzo | 2:457c3e6a7c13 | 7 | float from(float value); |
| c0ax | 0:04d95412bcd3 | 8 | protected: |
| Marcelocostanzo | 2:457c3e6a7c13 | 9 | float _inMin ,_inMax ,_outMin ,_outMax ; |
| c0ax | 0:04d95412bcd3 | 10 | }; |
