Yeongsoo Kim / Mbed 2 deprecated Mecha_Lane_Sensor

Dependencies:   mbed

Committer:
yeongsookim
Date:
Mon Nov 16 22:37:13 2020 +0000
Revision:
0:a0e9db1628f1
Init commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
yeongsookim 0:a0e9db1628f1 1 #ifndef MBED_LANESENSOR_H
yeongsookim 0:a0e9db1628f1 2 #define MBED_LANESENSOR_H
yeongsookim 0:a0e9db1628f1 3
yeongsookim 0:a0e9db1628f1 4 #include "mbed.h"
yeongsookim 0:a0e9db1628f1 5
yeongsookim 0:a0e9db1628f1 6
yeongsookim 0:a0e9db1628f1 7
yeongsookim 0:a0e9db1628f1 8
yeongsookim 0:a0e9db1628f1 9 class LaneSensor
yeongsookim 0:a0e9db1628f1 10 {
yeongsookim 0:a0e9db1628f1 11 public:
yeongsookim 0:a0e9db1628f1 12 LaneSensor(PinName lll,PinName ll,PinName l,PinName m,PinName r,PinName rr,PinName rrr);
yeongsookim 0:a0e9db1628f1 13 float getError();
yeongsookim 0:a0e9db1628f1 14 int getData();
yeongsookim 0:a0e9db1628f1 15
yeongsookim 0:a0e9db1628f1 16 protected:
yeongsookim 0:a0e9db1628f1 17 float error_,prevError_;
yeongsookim 0:a0e9db1628f1 18 BusIn sensorsIn_;
yeongsookim 0:a0e9db1628f1 19 };
yeongsookim 0:a0e9db1628f1 20
yeongsookim 0:a0e9db1628f1 21 #endif //MBED_DISTANCESENSOR_H