สัสชิน
Dependencies: BEAR_Protocol_Edited_V22 BufferedSerial Debug MaxSonar PID Process QEI UI iSerial mbed
Fork of clean_V2 by
UNTRASONIC.h@1:45f1573d65a1, 2016-03-21 (annotated)
- Committer:
- palmdotax
- Date:
- Mon Mar 21 20:21:12 2016 +0000
- Revision:
- 1:45f1573d65a1
aaaaa
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 |