Energy harvesting mobile robot. Developed at Institute of Systems and Robotics — University of Coimbra.
Fork of ISR_Mini-explorer by
Rangefinder.h@4:560d24c0e5f8, 2018-04-19 (annotated)
- Committer:
- fabiofaria
- Date:
- Thu Apr 19 15:35:29 2018 +0000
- Revision:
- 4:560d24c0e5f8
Initial commit.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
fabiofaria | 4:560d24c0e5f8 | 1 | #ifndef RANGEFINDER_H |
fabiofaria | 4:560d24c0e5f8 | 2 | #define RANGEFINDER_H |
fabiofaria | 4:560d24c0e5f8 | 3 | |
fabiofaria | 4:560d24c0e5f8 | 4 | #include "mbed.h" |
fabiofaria | 4:560d24c0e5f8 | 5 | |
fabiofaria | 4:560d24c0e5f8 | 6 | extern uint16_t rgfMeasurements[16]; |
fabiofaria | 4:560d24c0e5f8 | 7 | extern char sensors_selection[16]; |
fabiofaria | 4:560d24c0e5f8 | 8 | |
fabiofaria | 4:560d24c0e5f8 | 9 | void init_rangefinder(I2C* i2c_in, Mutex* mutex_in); |
fabiofaria | 4:560d24c0e5f8 | 10 | int read_rangefinder(); |
fabiofaria | 4:560d24c0e5f8 | 11 | |
fabiofaria | 4:560d24c0e5f8 | 12 | #endif |