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.
Revision 1:bb86cdfb0586, committed 2017-08-31
- Comitter:
- kenken0721
- Date:
- Thu Aug 31 10:34:52 2017 +0000
- Parent:
- 0:9e1fa4cfbc00
- Commit message:
- Arduino??;
Changed in this revision
| Arduino.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 9e1fa4cfbc00 -r bb86cdfb0586 Arduino.cpp
--- a/Arduino.cpp Thu Aug 31 10:26:20 2017 +0000
+++ b/Arduino.cpp Thu Aug 31 10:34:52 2017 +0000
@@ -6,6 +6,6 @@
}
*/
-long map(long x, long in_min, long in_max, long out_min, long out_max) {
+long Arduino::map(long x, long in_min, long in_max, long out_min, long out_max) {
return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min;
}
\ No newline at end of file