55+
Dependencies: BEAR_Protocol_Edited BufferedSerial Debug MaxSonar PID Process QEI UI iSerial mbed
Fork of CleaningMachine_Betago by
UNTRASONIC.h@3:edaab92dbd2f, 2016-05-24 (annotated)
- Committer:
- palmdotax
- Date:
- Tue May 24 10:33:21 2016 +0000
- Revision:
- 3:edaab92dbd2f
- Parent:
- 1:45f1573d65a1
55+
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
palmdotax | 1:45f1573d65a1 | 1 | #ifndef UNTRASONIC_H |
palmdotax | 1:45f1573d65a1 | 2 | #define UNTRASONIC_H |
palmdotax | 1:45f1573d65a1 | 3 | class sensor |
palmdotax | 1:45f1573d65a1 | 4 | { |
palmdotax | 1:45f1573d65a1 | 5 | private:float sen_1,sen_2,sen_3,sen_4,sen_5,sen_6,sen_7,sen_8,sen_9,sen_10; |
palmdotax | 1:45f1573d65a1 | 6 | public : void get_sen(); |
palmdotax | 1:45f1573d65a1 | 7 | void get_motor(); |
palmdotax | 1:45f1573d65a1 | 8 | void inti(); |
palmdotax | 1:45f1573d65a1 | 9 | void readbat(); |
palmdotax | 1:45f1573d65a1 | 10 | sensor(); |
palmdotax | 1:45f1573d65a1 | 11 | |
palmdotax | 1:45f1573d65a1 | 12 | }; |
palmdotax | 1:45f1573d65a1 | 13 | #endif |