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.
DistanceMaxSonar.h
- Committer:
- alonsoangulo
- Date:
- 2014-03-28
- Revision:
- 0:6106a82e900c
File content as of revision 0:6106a82e900c:
#ifndef MBED_DISTANCEMAXSONAR_H
#define MBED_DISTANCEMAXSONAR_H
#include "mbed.h"
class DistanceMaxSonar {
public:
DistanceMaxSonar(PinName MaxS);
float GetInch();
float GetFt();
float Getcm();
float GetM();
static int bar;
static void isr();
private:
AnalogIn _MaxS;
};
#endif