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 Sharp by
Revision 1:a5ced48cfedc, committed 2014-03-28
- Comitter:
- tashworth
- Date:
- Fri Mar 28 15:31:40 2014 +0000
- Parent:
- 0:04f1a022d4d0
- Child:
- 2:e9ab384ccbab
- Commit message:
- 3-28-14 10:30AM
Changed in this revision
| Sharp.cpp | Show annotated file Show diff for this revision Revisions of this file |
| Sharp.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Sharp.cpp Thu Dec 12 19:25:15 2013 +0000
+++ b/Sharp.cpp Fri Mar 28 15:31:40 2014 +0000
@@ -7,7 +7,7 @@
{
}
-double Sharp::getDistance(void)
+double Sharp::getIRDistance(void)
{
float dist = vout.read();
--- a/Sharp.h Thu Dec 12 19:25:15 2013 +0000
+++ b/Sharp.h Fri Mar 28 15:31:40 2014 +0000
@@ -7,7 +7,7 @@
{
public:
Sharp( PinName voutPin );
- double getDistance(void);
+ double getIRDistance(void);
private:
AnalogIn vout;
