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.
Sensor/LaneSensor.h
- Committer:
- yeongsookim
- Date:
- 2020-11-16
- Revision:
- 0:a0e9db1628f1
File content as of revision 0:a0e9db1628f1:
#ifndef MBED_LANESENSOR_H
#define MBED_LANESENSOR_H
#include "mbed.h"
class LaneSensor
{
public:
LaneSensor(PinName lll,PinName ll,PinName l,PinName m,PinName r,PinName rr,PinName rrr);
float getError();
int getData();
protected:
float error_,prevError_;
BusIn sensorsIn_;
};
#endif //MBED_DISTANCESENSOR_H